G
Guest
I'm using the code below to open a database from another database.
How do I make the newly opened database the current windows application,
and how to I maximize the window?
Thanks in advance for your help.
Const strConPathToPurchase = "\\wrobuff2\purchase log\"
Dim strDB As String
strDB = strConPathToPurchase & "purchase log.mdb"
Set appAccess = _
CreateObject("Access.Application.8")
appAccess.OpenCurrentDatabase strDB
appAccess.DoCmd.OpenForm "frmPurchaseList"
How do I make the newly opened database the current windows application,
and how to I maximize the window?
Thanks in advance for your help.
Const strConPathToPurchase = "\\wrobuff2\purchase log\"
Dim strDB As String
strDB = strConPathToPurchase & "purchase log.mdb"
Set appAccess = _
CreateObject("Access.Application.8")
appAccess.OpenCurrentDatabase strDB
appAccess.DoCmd.OpenForm "frmPurchaseList"