I am wanting to run a query that shows all the records between two different dates but between hours. A work day starts at 7:30am and ends at 3:00am the next day. I have a form that I enter the date into that feeds the query. The table field name is day and it is in the date/time format. Here is what I have in the query:
Between [Forms]![By Date Production Cell Total Form]![Text18] And [Forms]![By Date Production Cell Total Form]![DateSelector]
Text18 is the date I put in
DateSelector is Text18+1
This gives me all the records over a complete date, thus we are getting the end of the night shift added from the pervious day and we are missing the end of this working day night shift.
Any help would be great.
Between [Forms]![By Date Production Cell Total Form]![Text18] And [Forms]![By Date Production Cell Total Form]![DateSelector]
Text18 is the date I put in
DateSelector is Text18+1
This gives me all the records over a complete date, thus we are getting the end of the night shift added from the pervious day and we are missing the end of this working day night shift.
Any help would be great.