[AccessD] Trick Needed

Mark A Matte markamatte at hotmail.com
Mon Jun 9 12:22:09 CDT 2008


Rocky,

2 text boxes.  TEXT1 and TEXT2

Private Sub Text1_KeyUp(KeyCode As Integer, Shift As Integer)
Me!Text2.Requery
End Sub

in "CONTROL SOURCE" of TEXT2 =Len([Text1].[Text])

This shouold get what you need.

Thanks,

Mark A. Matte


> From: rockysmolin at bchacc.com
> To: accessd at databaseadvisors.com
> Date: Mon, 9 Jun 2008 09:53:27 -0700
> Subject: [AccessD] Trick Needed
>
> 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
>
>
>
>
>
>
>
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com

_________________________________________________________________
Enjoy 5 GB of free, password-protected online storage.
http://www.windowslive.com/skydrive/overview.html?ocid=TXT_TAGLM_WL_Refresh_skydrive_062008



More information about the AccessD mailing list