|
-
January 18th, 2000, 08:16 AM
#1
TextBoxes
Hi Guys,
I want to change the contents in .....say five text boxes depending on the Employeename i type in the first textbox.
Eg: I have 6 textboxes and when i type the name of the employee in the first textbox then the rest of the five textboxes should automatically have all his information as i type. I know you guys could help me out on this one. Thanks in advance,
Derek
-
January 18th, 2000, 03:35 PM
#2
Re: TextBoxes
in the text1_change protocol, enter the following code:
private Sub Text1_change
'I assume the names of the textboxes are text2, text3, text4, etc...
text2.text = text1.text
text3.text = text1.text
text4.text = text1.text
text5.text = text1.text
text6.text = text1.text
'If you don't want their text to be overwritten, meaning it is added on, enter the following code:
text2.text = text2.text & text1.text
text3.text = text3.text & text1.text
.
.
.
text6.text=text6.text & text1.text
-
January 20th, 2000, 11:13 PM
#3
Re: TextBoxes
is this what u wanted to know?
-
January 21st, 2000, 12:24 AM
#4
Re: TextBoxes
Private Sub Text1_Change()
Text2 = Text1
Text3 = Text1
Text4 = Text1
Text5 = Text1
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|