I have a parentform with a subform and a subsubform. In the subform events, I want to run the "DoCmd.GoToRecord acDataForm, formname, acFirst" command for the subsubform. However, the formname is giving me trouble.
If I just use the subsubform name, I get an "object not loaded" error. If I use the complete name (Forms!parentform!subform!subsubform) I get a "wrong data type for argument" error.
Anyone knows the correct way to refer to nested subforms in this docmd?
Thanks.
Shar
If I just use the subsubform name, I get an "object not loaded" error. If I use the complete name (Forms!parentform!subform!subsubform) I get a "wrong data type for argument" error.
Anyone knows the correct way to refer to nested subforms in this docmd?
Thanks.
Shar