D
DonD
I have a macro that I want to use to compact several other databases. Each
line in the macro contains a RunApp command, with the following:
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
"N:\Department\DATABASES\PurchaseOrders.mdb" /compact
The problem I'm having is that after the first one starts up, I get an error
message saying that the "database already exists". I'm assuming this is the
db1.mdb database that Access uses to compact.
Is there a way to designate the name of the temp database to use when
compacting, instead of it using the default db1.mdb? If I could have a
specific temp database name for each line in the macro, I could automate all
of my compacting chores.
The compact upon close option won't work for me.
Thanks for any help!
line in the macro contains a RunApp command, with the following:
"C:\Program Files\Microsoft Office\OFFICE11\MSACCESS.EXE"
"N:\Department\DATABASES\PurchaseOrders.mdb" /compact
The problem I'm having is that after the first one starts up, I get an error
message saying that the "database already exists". I'm assuming this is the
db1.mdb database that Access uses to compact.
Is there a way to designate the name of the temp database to use when
compacting, instead of it using the default db1.mdb? If I could have a
specific temp database name for each line in the macro, I could automate all
of my compacting chores.
The compact upon close option won't work for me.
Thanks for any help!