Home  |  About  |   Search   

What's New
Table Of Contents
Credits
Netiquette
10 Commandments 
Bugs
Tables
Queries
Forms
Reports
Modules
APIs
Strings
Date/Time
General
Downloads
Resources
Search
Feedback
mvps.org

RunCommand Constants

Terms of Use


 

Forms: Grab what the user has typed in a control (uncommitted value)

Author(s)
Dev Ashish

(Q) I want to grab the text as the user types in a textbox control on the form. However, I'm only able to get the old stored value of the control, not what the user is typing in. How do I get this value?

(A) Accessing the .Value property of Textbox controls (me!tbxControl.Value) will always show the 'committed' value of the field. To grab the 'uncommitted' value in the control, ie. what the user is typing in before it's saved or 'committed', use the control's OnChange event and .TEXT property (me!tbxControl.Text).


© 1998-2009, Dev Ashish & Arvin Meyer, All rights reserved. Optimized for Microsoft Internet Explorer