Query between dates

A

anna_717717

Hi all, Hope somebody can help

Ive got 2 tables with the following fields:
Table 1:
BatchCode
BatchTestDate
BatchStartTime
BatchEndTime
+ batch setup data

Table 2:
BatchCode
ProductSerialNumber
TestDate
TestCompletionTime
+ product test results

I need to show the batch setup data for each product by serial number
How can I create a query so that the joins are:
BatchCode = BatchCode
TestDate = TestDate
TestCompletionTime = between BatchStartTime and BatchEndTime

Thanks
 
J

John Spencer

See my response to your earlier post on the same subject.

'====================================================
John Spencer
Access MVP 2002-2005, 2007-2009
The Hilltop Institute
University of Maryland Baltimore County
'====================================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top