I have a subform named NotesF within a subform that I am attempting to place a command button to open a new record.
When I run the code I get the error message, "The object "NotesF" isn't open.Code:DoCmd.GoToRecord acDataForm, "NotesF", , acNewRec DoCmd.GoToControl "NotesDate"
I think I need to SetFocus on "NotesF" but I can't figure out how to do it.