M
Matt P
I have a main form with two subforms nested. I am trying to test for
a newrecord on the 2nd subform from the main form.
Me.SetFocus
Me!subCompanyAddresses1.SetFocus
Me!subCompanyAddresses1.Form!subAdjusters2.SetFocus
If Me!subCompanyAddresses1.Form!subAdjusters2.Form.NewRecord =
True Then
Stop
End If
I go to add a new record and then I click the button which has this
underlying vb code and it doesn't register the new record. On the
subform itself the test works. Anyone have any suggestions?
a newrecord on the 2nd subform from the main form.
Me.SetFocus
Me!subCompanyAddresses1.SetFocus
Me!subCompanyAddresses1.Form!subAdjusters2.SetFocus
If Me!subCompanyAddresses1.Form!subAdjusters2.Form.NewRecord =
True Then
Stop
End If
I go to add a new record and then I click the button which has this
underlying vb code and it doesn't register the new record. On the
subform itself the test works. Anyone have any suggestions?