M
mattc66 via AccessMonster.com
I have a main form that contains 2 sub forms.
I have button on SubForm2 that I have programmed the On Click command to copy
data from Fld1 in this form to Fld1 in SubForm1.
CODE Example:
Private Sub copy_Click()
Forms!MainForm!SubForm1.Form!Fld1 = Forms!MainForm!SubForm2.Form!Fld1
End Sub
When I run it I get a message that says it cant find SubForm1 refereed to in
expression.
Any help would be very appreciated.
Matt
I have button on SubForm2 that I have programmed the On Click command to copy
data from Fld1 in this form to Fld1 in SubForm1.
CODE Example:
Private Sub copy_Click()
Forms!MainForm!SubForm1.Form!Fld1 = Forms!MainForm!SubForm2.Form!Fld1
End Sub
When I run it I get a message that says it cant find SubForm1 refereed to in
expression.
Any help would be very appreciated.
Matt