I use this code to open a form in another database:
Private Sub btnOpenPlatinumTraveler_Click()
Dim objACC As New Access.Application
Set objACC = GetObject("T:\Diode Travelers Application\Source\DiodePlatinumDiffusionTravelerApplication.accdb")
objACC.DoCmd.OpenForm ("Switchboard"), acNormal
' Set objACC = Nothing
But it opens the form and closes it immediately. I can use a breakpoint at End Sub to see the form is open. And I can use it normally.
What needs to be done to keep the form open?