S
smk2
Greetings and many thanks for the help
I have code in a subform as follows
With Me.frmPatPhoneSub.For
.AllowAdditions = Tru
.SetFocu
DoCmd.GoToRecord , , acNewRe
End Wit
The form it is referring to is a sub-sub form that I am trying to add a new record to
But it appears that the DoCmd.GoToRecord... line gets applied to the subform, not the sub-sub form even though I have just set the focus to the sub-sub form
How should I modify the code so that a new record is added to the sub-sub form
Thanks so much
SMK
I have code in a subform as follows
With Me.frmPatPhoneSub.For
.AllowAdditions = Tru
.SetFocu
DoCmd.GoToRecord , , acNewRe
End Wit
The form it is referring to is a sub-sub form that I am trying to add a new record to
But it appears that the DoCmd.GoToRecord... line gets applied to the subform, not the sub-sub form even though I have just set the focus to the sub-sub form
How should I modify the code so that a new record is added to the sub-sub form
Thanks so much
SMK