Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

INSTANTLY MIRROR CHANGES TO A SECOND TEXT BOX

Status
Not open for further replies.

Islwyn

Programmer
Nov 8, 2003
26
0
0
GB
Hi,
I want any changes in Textbox1 to be shown instantly in Textbox2, the instant I press the keyboard. I have tried putting the following
[Textbox2]=[Textbox1]
in code under [Textbox1]'s On Change, Key up, Key Down, Key Press etc event options but no changes occur until I click somewhere else
Any help with this simple question would be greatly appreciated
Cheers
Islwyn
 
Hi Islwyn.
The problem is, that Me!TextBox1 does not contain a value until updated. It contains Text, but not yet a value.
So it's:
Me!Textbox2 = Me!Textbox1.Text
in the OnChange() event.
;-)
MakeItSo

Andreas Galambos
EDP / Technical Support Specialist
(andreas.galambos@bowneglobal.de)
HP:
 
Cheers, Thanks for that - I knew there'd be a simple solution.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top