Filter with Toggle

Edwik

Registered User.
Local time
Today, 02:00
Joined
Aug 19, 2005
Messages
40
Hi !

I have in Form textBox and toggle button.

How could i Filter Form by Value in TextBox? (when toggle button is pressed, Form show records filtered by texbox, when unpressed - shows all records.)

Thank You in advance!
 
Edwik said:
Hi !

I have in Form textBox and toggle button.

How could i Filter Form by Value in TextBox? (when toggle button is pressed, Form show records filtered by texbox, when unpressed - shows all records.)

Thank You in advance!

me.Filter = Me!textbox

or

Me.Filter = ""
 
Thank You, it works:

me.Filter = Me!textbox
me.FilterOn = True
 

Users who are viewing this thread

Back
Top Bottom