P
Pat
I have a form that users can enter a date and it runs a
report based on the query.
I want the user to be able to either:
Enter a date range [startdate] and [enddate]
--OR--
Enter only the [startdate] to just get 1 day's data.
I know the date range I would use in the query:
Between [forms]![ShiftLog]![txtStartDate] And [forms]!
[ShiftLog]![txtEndDate]
But how do I also set up the criteria for just the 1 day?
report based on the query.
I want the user to be able to either:
Enter a date range [startdate] and [enddate]
--OR--
Enter only the [startdate] to just get 1 day's data.
I know the date range I would use in the query:
Between [forms]![ShiftLog]![txtStartDate] And [forms]!
[ShiftLog]![txtEndDate]
But how do I also set up the criteria for just the 1 day?