G
Guest
I have a form on which a command button allows the user to run a report in
preview mode. This shows all data for all dates.
I need to be able to allow the user to enter a start and end date and then
pass those values to a query which will then display the appropriate records
in the report preview. The report is already designed and is called
ExpenseDetailRpt.
I have built a form to enter the values QStartDate and QEndDate with a
button to run the report after entering the values. I'm familiar with how to
create a query with the criteria set to the values Between the two dates
entered on the form, but I don't know what to set the Click event to to run
the query and THEN display the report in preview mode.
Any help would be appreciated.
preview mode. This shows all data for all dates.
I need to be able to allow the user to enter a start and end date and then
pass those values to a query which will then display the appropriate records
in the report preview. The report is already designed and is called
ExpenseDetailRpt.
I have built a form to enter the values QStartDate and QEndDate with a
button to run the report after entering the values. I'm familiar with how to
create a query with the criteria set to the values Between the two dates
entered on the form, but I don't know what to set the Click event to to run
the query and THEN display the report in preview mode.
Any help would be appreciated.