Filter release issue

fenfool

Registered User.
Local time
Today, 17:10
Joined
Jul 5, 2012
Messages
17
I'm using Access 2010, and have been having an issue with report filters. I'm creating some flexible reports that let the user filter by year or location, then the next time they can apply different filters, that kind of thing. The problem is that some of these filters seem to be sticking. I do not have filter on load turned on, but some reports seem to get stuck with a filter...for example, one user filters the CYear field to be 2011. I go into the report later, and CYear is set to 2011, with no option to clear filters. I'm doing everything with the interface, so I'm not coding anything in to capture them...any thoughts as to what is going on, and how I can release these invisible filters and get my reports back?

My solution so far is to re-create the report, which works, but is certainly less than ideal. And I cannot recreate the circumstances consistantly. Sometimes when I save a report while designing and having filters set, this happens, sometimes not.
 
Last edited:
Well, I figured out clearing the datasource property, where the filters seem to be entangled, but I'm still not sure why they are saving. They should reset after the report is closed.
 
Did you write any code at all?

When you create your report, remove any filters, save and close the report. That should do it.

Also, ensure that your users don't have the ability to make design changes or saving the report.
 
No, I didn't write any code at all (my SQL is REALLY rusty, so I tried to avoid that for this project). I've turned off filter on load and allow filters now, which should prevent it from happening again, but I'm still curious as to why this would happen...the filter permeates itself, and can't be altered through normal means. Seems strange. Also, now I'm concerned for certain reports where filters are needed to be left on...
 
You said one user sets a filter and that filter cannot be cleared. Sounds like you're sharing the front end of your database. How is it split and shared across your users?
 

Users who are viewing this thread

Back
Top Bottom