[AccessD] Trick Needed

Gustav Brock Gustav at cactus.dk
Tue Jun 10 01:00:36 CDT 2008


Hi Susan

It only works when TextBox1 has focus as this is the only situation where Property Text is available. If not, you will receive an error in TextBox2.

/gustav

>>> ssharkins at gmail.com 10-06-2008 01:13 >>>
ooooooooooo... Rocky, did it work? That is indeed clever. 

Susan H. 


> 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.





More information about the AccessD mailing list