Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Report allows filter, but does not revert back when filter removed

Status
Not open for further replies.

RobotMush

Technical User
Aug 18, 2004
197
US
I have created a report based on two queries. The tables these queries are based on are joined properly, and the report displays what I am needing. However, when I ask it to filter it does filter by my criteria. However, when I ask it not to filter, it does not revert back to the full report. Can anyone help me with this?

Thank You
RobotMush (Technical User)
 
Try this.

Reports![YourReportName].FilterOn = False
 
Thanks for the suggestion. But where would I use that?

RobotMush (Technical User)
 
Need a better explanation of how the filter is set and un set. The VBA code that is setting the filter and/or opening the report is key to using jkl0's advice.
 
Basically I am going to the query that has the field I am wanting to filter. Then in the Design view I type in...

Like "A"

saving my changes as I exit.
This is to get only the "A..." records in the report.

However, when I go back to the query and remove the...

Like "A"

and save my changes when I go back to my Report nothing has changes, it still only shows the "A" records and not the full records. I have even gone into the design view of the report and made sure that the filter is set to "NO"

Does that help?

RobotMush (Technical User)
 
when I go back to my Report nothing has changes
You had closed the report then reopen it ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Yes, I even deleted the report and recreated it using the same queries. Now it doesn't even show the full report just the records I had filtered to show.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top