Automatically populate a text box

  • Thread starter Thread starter Ali
  • Start date Start date
A

Ali

When a value is entered into one text box, I want that
value to automatically populate another text box in the
same form. How do I do this?

Thanks
 
In the first text box's AfterUpdate event, enter the code...

Private Sub TextBox1_AfterUpdate()
Me!TextBox2 = TextBox1
End Sub


Rick B




When a value is entered into one text box, I want that
value to automatically populate another text box in the
same form. How do I do this?

Thanks
 
Set its Control Source property to the name of the first
textbox:

=[yourtextboxname]

HTH
Kevin Sprinkel
 
Back
Top