I have a database called Control.mdb.
A form within control.mdb opens a database called Template.mdb using the following code.
Dim appAccess As Access.Application
Dim dbPath As String
dbPath = "C:\My Documents\Template.mdb"
Set appAccess = CreateObject("Access.Application")
appAccess.OpenCurrentDatabase (dbPath)
appAccess.Visible = True
Once Template.mdb is open I want to save it with a new name and then close it. I have checked out the help section but the save methods only refer to objects within the db i.e. forms, queries etc.
A point in the right direction would be appreciated.
Regards
GC
A form within control.mdb opens a database called Template.mdb using the following code.
Dim appAccess As Access.Application
Dim dbPath As String
dbPath = "C:\My Documents\Template.mdb"
Set appAccess = CreateObject("Access.Application")
appAccess.OpenCurrentDatabase (dbPath)
appAccess.Visible = True
Once Template.mdb is open I want to save it with a new name and then close it. I have checked out the help section but the save methods only refer to objects within the db i.e. forms, queries etc.
A point in the right direction would be appreciated.
Regards
GC