I referenced another database in the references and then when I first opened a form from the referenced database it opened, but once I closed the database and reopened I keep getting an error 2102 the form name is misspelled or doesn't exist, yet it clearly exists.
I have removed the reference, closed and reopened and tried to add the reference again with no joy.
Which is weird as if I view object from the vba editor the form opens in design mode.
The code to open the form is.
I have removed the reference, closed and reopened and tried to add the reference again with no joy.
Which is weird as if I view object from the vba editor the form opens in design mode.
The code to open the form is.
Code:
Public Sub OpenReferencedUI()
DoCmd.OpenForm "Organizations"
End Sub
Last edited: