G
Guest
I have a tabbed form. trying to get nested subform on 3rd tab to open to new
blank record, and want user to have ability to scroll previous records.
this is my code:
Private Sub Form_Load()
Me!frmHospVisit!frmDailyData.SetFocus 'Set the focus to the nested
subForm
DoCmd.GoToRecord , , acNewRec 'Move to new record
[cboFindPatient].SetFocus 'Return to main form primary key field
End Sub
not opening frmDailyData to new record; still shows last record.
Thanks for the help.
patti
blank record, and want user to have ability to scroll previous records.
this is my code:
Private Sub Form_Load()
Me!frmHospVisit!frmDailyData.SetFocus 'Set the focus to the nested
subForm
DoCmd.GoToRecord , , acNewRec 'Move to new record
[cboFindPatient].SetFocus 'Return to main form primary key field
End Sub
not opening frmDailyData to new record; still shows last record.
Thanks for the help.
patti