J
jyanks
Now I know that the way you display a report with records between two dates
is to set the Query criteria to something like: >#2/2/2006# and <#2/4/2006#
Say I want to have the user input two dates and then hit a button that
creates the sales report with sales in between those two dates.
I have the form, named 'frmAdminCreateSalesReport' with two text boxes named
'txtStartDate' and 'txtFinishDate'. I then have the query setup so that it
has a sales_date criteria of:
When I hit the button to create the report, it's always blank, even if there
are records in between these two dates. The text box format is set to short
date, which is the same as the sales_date field. Any thoughts on why this
isn't working?
is to set the Query criteria to something like: >#2/2/2006# and <#2/4/2006#
Say I want to have the user input two dates and then hit a button that
creates the sales report with sales in between those two dates.
I have the form, named 'frmAdminCreateSalesReport' with two text boxes named
'txtStartDate' and 'txtFinishDate'. I then have the query setup so that it
has a sales_date criteria of:
<=[Forms]![frmAdminCreateSalesReport]![txtFinishDate]=[Forms]![frmAdminCreateSalesReport]![txtStartDate] And
When I hit the button to create the report, it's always blank, even if there
are records in between these two dates. The text box format is set to short
date, which is the same as the sales_date field. Any thoughts on why this
isn't working?