How to show which fields have FilterOn? (1 Viewer)

ppataki

Registered User.
Local time
Yesterday, 19:19
Joined
Sep 5, 2008
Messages
267
Dear All,

I have a continuous form and somehow I would like to recolour/highlight those fields where a filter is applied
(sometimes there are filters in even 5-6 fields and it is very annoying when you forget which fields you already applied a filter in)

Any suggestions please?
Many thanks in advance ;)
 

John Big Booty

AWF VIP
Local time
Today, 12:19
Joined
Aug 29, 2005
Messages
8,262
What is the code that you are currently using to apply your filters?
 

ppataki

Registered User.
Local time
Yesterday, 19:19
Joined
Sep 5, 2008
Messages
267
No code, user right clicks on the desired field and chooses filter
This is done on multiple fields and I would like Access to somehow indicate on each field if filter is on
Thx!
 

JANR

Registered User.
Local time
Today, 04:19
Joined
Jan 21, 2009
Messages
1,623
You could put a unbound textbox in your forms footer and set its controlsource to:

=IIF(Form.FilterOn,Form.Filter,Null)

The you can atleast read what the current form filter is set at.

JR
 

ppataki

Registered User.
Local time
Yesterday, 19:19
Joined
Sep 5, 2008
Messages
267
Thank you very much, that is a great solution!
 

Users who are viewing this thread

Top Bottom