Filtering Question

stewie2699

New member
Local time
Today, 14:54
Joined
Feb 5, 2004
Messages
7
I have a form that I display in datasheet view. The user often filters records and then wishes to print the results of the filter. I am drawing a blank: how do I get the results of the filtered query into a report? Thx. :confused:
 
Try

In the open event of the report

Me.Filter = Form_FormName.Filter
Me.FilterOn = True

The recordsource must contain the same fields - if it is filtered in the form it must be there to filter in the report.
 

Users who are viewing this thread

Back
Top Bottom