G
Gabe
I currently have a button that takes the values of some parent form fields
and copies them to subform1 (a history form). However, I want to take the
value of subform2 (a query subform within the same parent form), and put it
in subform1. The button is located in subform1 and the code is in the (On Dbl
Click), here's the code I have been using:
Private Sub AddCurrent_DblClick(Cancel As Integer)
Me.EmpName = Me.Parent.EmpName
End Sub
So instead of (Me.Parent.EmpName), how can I get it to take subform2? I
tried (Me.subform1.EmpName), but it didn't work...
Thanks,
~Gabe
and copies them to subform1 (a history form). However, I want to take the
value of subform2 (a query subform within the same parent form), and put it
in subform1. The button is located in subform1 and the code is in the (On Dbl
Click), here's the code I have been using:
Private Sub AddCurrent_DblClick(Cancel As Integer)
Me.EmpName = Me.Parent.EmpName
End Sub
So instead of (Me.Parent.EmpName), how can I get it to take subform2? I
tried (Me.subform1.EmpName), but it didn't work...
Thanks,
~Gabe