G
Guest
Hi,
I hope someone can help me.
I have a query that I want to execute using a date range in the criteria. It
works fine if I prompt the user to enter the dates into the query - by using
"Between [Enter 1st date] And [Enter 2nd Date]" in the criteria section.
However, I want to use a form for the user to enter the date range into and
whilst using "Between [Forms]![Frmxx]![StartDate] And
[Forms]![Frmxx]![EndDate]" in the criteria, where StartDate and EndDate are
fields on the form, the query doesn't seem to recognise the values in the
form fields and returns no records.
The fields on the form are formatted as Medium Date as are the respective
fields on the query.
Any suggestions/solutions would be very much appreciated.
I hope someone can help me.
I have a query that I want to execute using a date range in the criteria. It
works fine if I prompt the user to enter the dates into the query - by using
"Between [Enter 1st date] And [Enter 2nd Date]" in the criteria section.
However, I want to use a form for the user to enter the date range into and
whilst using "Between [Forms]![Frmxx]![StartDate] And
[Forms]![Frmxx]![EndDate]" in the criteria, where StartDate and EndDate are
fields on the form, the query doesn't seem to recognise the values in the
form fields and returns no records.
The fields on the form are formatted as Medium Date as are the respective
fields on the query.
Any suggestions/solutions would be very much appreciated.