SteveL13
asked on
Problem with date range in a query
I have a form with two fields... txtStart and txtEnd. Then in my query syntax I have...
Between Forms!frmMainMenu!txtStart and Forms!frmMainMenu!txtEnd
If I enter today's date in both fields I get 10 returns returned with today's date. But if I enter today's date as the start date and tomorrow's date as the end date I get more records that contain today's date and some with tomorrow's date. Why am I not seeing all of today's records when I enter today's date in both fields?
--Steve
Between Forms!frmMainMenu!txtStart
If I enter today's date in both fields I get 10 returns returned with today's date. But if I enter today's date as the start date and tomorrow's date as the end date I get more records that contain today's date and some with tomorrow's date. Why am I not seeing all of today's records when I enter today's date in both fields?
--Steve
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
DateValue([DateField]) Between Forms!frmMainMenu!txtStart