Passing value of unbound textbox (1 Viewer)

Wysy

Registered User.
Local time
Yesterday, 17:12
Joined
Jul 5, 2015
Messages
333
Hi,
Is there anyway to read out the content of an unbound textbox in runtime? What i mean is how to get the values while typing for example.
Thank you
 

moke123

AWF VIP
Local time
Yesterday, 20:12
Joined
Jan 11, 2013
Messages
3,941
Are you talking about using the .text property in the OnChange event of the control?

What is it you want to do?
 

Wysy

Registered User.
Local time
Yesterday, 17:12
Joined
Jul 5, 2015
Messages
333
I have an unbound textbox that has an afterupdate property set to filter a form. I wondered to tirgger the filtering while typing, i.e. after each character entered, the filter would activate.
Code:
Private Sub txtSearch_AfterUpdate()
Me.Form.Filter = "Partner Like'*" & Me.txtSearch & "*'"
Me.Form.FilterOn = True
end sub
 

Wysy

Registered User.
Local time
Yesterday, 17:12
Joined
Jul 5, 2015
Messages
333
Thanks. Exactly that is what i am looking for. "filter as you type..." was the wording i have missed.
 

moke123

AWF VIP
Local time
Yesterday, 20:12
Joined
Jan 11, 2013
Messages
3,941
Post back if you have any problems. Good luck.
 

Users who are viewing this thread

Top Bottom