Query between dates

  • Thread starter Thread starter anna_717717
  • Start date Start date
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
 
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
'====================================================
 
Back
Top