I created a contactform with it's own navigation buttons. It works fine but not when it's a subform. If I put contactform into my mainform I get errors when I press the navigation buttons that I created.
here is my code
DoCmd.GoToRecord acDataForm, currentForm.NAME, acNext
here is the error message
Run-time error '2489':
"The object 'contactform' isn't open"
Any ideas on how to solve this?
here is my code
DoCmd.GoToRecord acDataForm, currentForm.NAME, acNext
here is the error message
Run-time error '2489':
"The object 'contactform' isn't open"
Any ideas on how to solve this?