General information
Category:
Coding, syntax & commands
Title:
Textbox control bound to a variable
Environment versions
Network:
Windows 2003 Server
Maybe simple, maybe not...
I have a slight thorn in my side on this.
I have a textbox control with a controlSource pointing to a variable... Typically no problem. However, it only gets updated when you tab or enter out of the field... Try this for example
Create a form. Put a label and a textbox control on it. In the INIT of the FORM do the following
This.text1.ControlSource = "Thisform.label1.Caption"
run the form. I would think that as you type in the textbox, that it would be updating the variable at the same time. If you have a textbox control set to a "table.field", the field gets updated immediately. Start typing in the textbox control, only when you hit tab or enter does it update the labels caption (which the caption would be equivalent to a variable anyhow).
Any ideas???
Thanks
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only