G
Guest
I used the help files to write code to filter a report (based on a query). My
result is a blank report page??? In the help files under the "Where" section
of the Help file (OpenReport Action) I added this format [fieldname] =
Forms![formname]![controlname on form]. Not sure what to add under the
Filter Section.
My Option box returns 1, 2, 3 values in the form and I want to use those
values as criteria to pull only certian records from the Report. (Currently
the report pulls all records from the qurey it is based on).
Docmd.OpenReport reportname, acViewPreview, [filtername???], [Where Condition]
Any help appriciated. I've tried using the query name in the Filter section,
result is a blank report page??? In the help files under the "Where" section
of the Help file (OpenReport Action) I added this format [fieldname] =
Forms![formname]![controlname on form]. Not sure what to add under the
Filter Section.
My Option box returns 1, 2, 3 values in the form and I want to use those
values as criteria to pull only certian records from the Report. (Currently
the report pulls all records from the qurey it is based on).
Docmd.OpenReport reportname, acViewPreview, [filtername???], [Where Condition]
Any help appriciated. I've tried using the query name in the Filter section,