Form to filter certain records on subsquent report
Posted on 2011-03-07
I have a form frmReportMenu that has a command button that the user can click to run a query qry ADP_query_new.
the query includes a field "CustomerID".
What I would like to do is allow the user to specify via a combo box(combo6) to produce the report for only those records that match the CustomerID selected in the ComboBox.
The form that the has the combo is FrmForm1
one the user selects a value, I would like to execute a CMDPRint via a button on the form.
The report should be displayed with only the records that match the CustomerID value.