I'm trying to open new database (with the access window maximized) from a different database. My code:
Dim appAccess As Object
Dim str As String
str = "C:\My Documents\Projects\CTM.mdb"
Set appAccess = CreateObject("Access.Application"
With appAccess
.OpenCurrentDatabase str
.Visible = True
End With
It opens the CTM database, but it flashes on the screen for a second and then seems to close. Also I don't see how to open it with the access window maximized.
Any help?
Dim appAccess As Object
Dim str As String
str = "C:\My Documents\Projects\CTM.mdb"
Set appAccess = CreateObject("Access.Application"
With appAccess
.OpenCurrentDatabase str
.Visible = True
End With
It opens the CTM database, but it flashes on the screen for a second and then seems to close. Also I don't see how to open it with the access window maximized.
Any help?