G
Guest
I have a form called NewDataEntry which contains a subform called
ActivityNewPart. I would like to click a command button on the main form
which would then cause a field called Plan on the subform to have the value
0. The following is the code that I am using but I am receiving a 'Method or
Data Member not found' error.
Private Sub Command46_Click()
Forms!NewDataEntry!SubformControl.Form.ActivityNewPart.SetFocus
Me.ActivityNewPart.Plan.Value = 0
End Sub
Thanks for any help.
JoeP
ActivityNewPart. I would like to click a command button on the main form
which would then cause a field called Plan on the subform to have the value
0. The following is the code that I am using but I am receiving a 'Method or
Data Member not found' error.
Private Sub Command46_Click()
Forms!NewDataEntry!SubformControl.Form.ActivityNewPart.SetFocus
Me.ActivityNewPart.Plan.Value = 0
End Sub
Thanks for any help.
JoeP