Is their a way of counting the charactors in a text box as a user is typing and updating an unbound field as the user continues to type ? (not after updated)
any help much appreciated . .
The KeyPress event procedure (of your TextBox field) is a good place to perform your duty.
If you want to avoid to take care of backspace, del ... use the Len function on each Event to get the actual number of displayable characters.
Use the Text property of the text box to get the length of the typed text. Put this code in the key press or change event of txtMessage.
txtLength = Len(txtMessage.Text) Terry L. Broadbent FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.