Hi Expert,
I have two forms (mainform&subform), i need to copy the textbox1.value from mainform to the subform textbox2. i tried the code below but still i encounter the code error. The txtqty2 is located in subform. Please help me.
Private Sub txtqty2_AfterUpdate()
Me.textbox2= 'Form!mainform!textbox1
End Sub
Thanks!
Jon
I have two forms (mainform&subform), i need to copy the textbox1.value from mainform to the subform textbox2. i tried the code below but still i encounter the code error. The txtqty2 is located in subform. Please help me.
Private Sub txtqty2_AfterUpdate()
Me.textbox2= 'Form!mainform!textbox1
End Sub
Thanks!
Jon