G
Guest
I have an unbound form with a list box containing the names of reports the
user can select. Once they select the report, there is a part of the form
where they can enter the criteria to filter the report. These criteria boxes
are unbound. The criteria are: Begin Date and End Date(text boxes), (for a
date range), Product (drop down), and CustomerID (text box). Each report has
its own query, which include these criteria fields. When they click on the
command button called Open Report, I want to pass the criteria to each query
using a macro.
I have the following: Open Report Report Name=[Forms]![View
Reports]![lstReports]. I don't know how to include all the parameters into
the Where statement for the action. Is this even possible?
user can select. Once they select the report, there is a part of the form
where they can enter the criteria to filter the report. These criteria boxes
are unbound. The criteria are: Begin Date and End Date(text boxes), (for a
date range), Product (drop down), and CustomerID (text box). Each report has
its own query, which include these criteria fields. When they click on the
command button called Open Report, I want to pass the criteria to each query
using a macro.
I have the following: Open Report Report Name=[Forms]![View
Reports]![lstReports]. I don't know how to include all the parameters into
the Where statement for the action. Is this even possible?