sambo
Registered User.
- Local time
- Today, 03:20
- Joined
- Aug 29, 2002
- Messages
- 289
Will VBA continue to loop through code as the Shell runs, or does it see that the Shell is completed and then continue to run.
I call the following Shell (it copies the active .mdb into a temp file)
Call Shell("""" & batPath & """ """ & projPath & """ """ & copyPath & """", 3)
And then I take that temp file and compact it and store it at location finalDB.
DBEngine.CompactDatabase copyPath , finalDB
If the Shell is not completed by the time the code runs down to the compact, will I be in trouble? Or does it queue up until the Shell is completed?
I call the following Shell (it copies the active .mdb into a temp file)
Call Shell("""" & batPath & """ """ & projPath & """ """ & copyPath & """", 3)
And then I take that temp file and compact it and store it at location finalDB.
DBEngine.CompactDatabase copyPath , finalDB
If the Shell is not completed by the time the code runs down to the compact, will I be in trouble? Or does it queue up until the Shell is completed?