[AccessD] Trick Needed

Gustav Brock Gustav at cactus.dk
Mon Jun 9 12:06:12 CDT 2008


Hi Rocky

How about using OnChanged of TextBox1:

  Me!TextBox2.Value = Len(Me!TextBox1.Text)

/gustav

>>> rockysmolin at bchacc.com 09-06-2008 18:53 >>>
Dear List:
 
There are two text boxes on a form.  As  the user keys info into text box 1,
that is, after every key stroke,  I would like the length of the data in
text box 1 to appear  in text box 2.  But I can't find an event that 'knows'
what the current length is in text box 1 until it loses and regains focus.
 
Is there a slick way to get this number?

MTIA
 
Rocky





More information about the AccessD mailing list