Unbound Texbox Buffer?

H

hbsclaims

Is there an easier way to retrieve data from an unbound textbox during entry?
Currently I am building a variable after each keypress, however, keypresses
such as backspace, del, ins. cause problems for the filter that I build after
each keypress.
 
M

M Skabialka

What about After Update on the textbox for validation? If the info is
incorrect you can set focus back to to it.
 
H

hbsclaims

That will not work in this situation, because I am building a filter as the
user is entering data that is applied to a subform.
 
D

Dirk Goldgar

hbsclaims said:
Is there an easier way to retrieve data from an unbound textbox during
entry?
Currently I am building a variable after each keypress, however,
keypresses
such as backspace, del, ins. cause problems for the filter that I build
after
each keypress.


The text box's Change event fires with each keystroke that changes the
displayed value of the text box. In that event, you can get the control's
..Text property, which holds the text currently typed in, even before the
text box's .Value property has been updated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top