I am trying to open a database from another one and go to a specific form. When I try using the method below, the new database does not get focus and the switchboard stays on top.
Dim appAccess As Access.Application
Set appAccess = CreateObject("Access.Application")
appAccess.OpenCurrentDatabase "\\wi101wsf\Shares\Departmental\Production\Machini ng\PRODUCTION\_PROCESS_DATABASE_FILES\Mach_Tools.a ccdb"
appAccess.UserControl = True
Set appAccess = Nothing
Using the shell and .bat file method (Shell "\\wi101wsf\Shares\Departmental\Production\Machini ng\PRODUCTION\_PROCESS_DATABASE_FILES\Mach_Tools.b at") the new database gets focus as desired, but I can't open the form I need