Hi,
I have a form that will allow the user to select different options for different views in a report. I'm trying to use the where parameter in this doCmd statement. I took this out of a parm query that I wrote that does work outside the macro. When I run it from the form, I get an object not found.
Thanks for the help..Russ
Private Sub Option0_Click()
DoCmd.OpenReport "presentation", acViewPreview, , Presentation01.Candidate1 Like "*" & [Type a candidate:] & "*"
I have a form that will allow the user to select different options for different views in a report. I'm trying to use the where parameter in this doCmd statement. I took this out of a parm query that I wrote that does work outside the macro. When I run it from the form, I get an object not found.
Thanks for the help..Russ
Private Sub Option0_Click()
DoCmd.OpenReport "presentation", acViewPreview, , Presentation01.Candidate1 Like "*" & [Type a candidate:] & "*"