D
Duncs
I have an Autoexec macro in a dadabase that runs a delete query and
imports some data. It then executes an append query before opening a
table.
What I want to do in the Autoexec is:
Run delete query
Compact and Repair database
Import data
Run append query
Open table
Run other macros
However, I get an error with the compact & Repair...I can't run it
from VBA or a macro, or something like that. Also, wouold the 'Run
other macros' wait until the table was closed, or would they continnue
regardless?
Duncs
imports some data. It then executes an append query before opening a
table.
What I want to do in the Autoexec is:
Run delete query
Compact and Repair database
Import data
Run append query
Open table
Run other macros
However, I get an error with the compact & Repair...I can't run it
from VBA or a macro, or something like that. Also, wouold the 'Run
other macros' wait until the table was closed, or would they continnue
regardless?
Duncs