Hi,
I’m using the DoCmd.OpenReport VBA method and I keep getting a mysterious dialog box. It’s titled Enter Parameter Value, and its text is the value that I was using as the filter in the OpenReport method. I’m not sure where this dialog box is coming from, since the query does not have any parameter statements in the criteria boxes. Also, I haven’t specified anything in the Query > Parameters dialog box in the query.
The input box on this Enter Parameter Value dialog box is empty. If I leave it blank and press OK, the report produces without any data. If I enter the filter value in the input box, the report comes out OK.
I’ve attached a copy of the dialog box to show what is appearing.
Thanks,
Bob