P
Paul Washburn
I have a form with a combobox that is supposed to open a report and filter
the report based on the value of the combo box.
The issue im having is the button opens a prompt and puts the value of the
combobox as the text of the prompt. A user can enter the same value into the
prompt and the report will open with the filter in place.
Below is my code for the open command, could someone please tell me if my
syntax is off or if i have an error in logic.
Private Sub cmdRun_Click()
DoCmd.OpenReport "ManuQuery", acViewReport, , "Software.Manufacture LIKE
" & Forms!ManuRpt!cboManufacture, acWindowNormal
End Sub
Thanks in advance for the help.
the report based on the value of the combo box.
The issue im having is the button opens a prompt and puts the value of the
combobox as the text of the prompt. A user can enter the same value into the
prompt and the report will open with the filter in place.
Below is my code for the open command, could someone please tell me if my
syntax is off or if i have an error in logic.
Private Sub cmdRun_Click()
DoCmd.OpenReport "ManuQuery", acViewReport, , "Software.Manufacture LIKE
" & Forms!ManuRpt!cboManufacture, acWindowNormal
End Sub
Thanks in advance for the help.