All,
We are trying to compact the db that our code is running in. This is easy once you move to 2000 onwards. But in our friendly 97 version we can not seem to come up with a solution.
The DBEngine command requires a source and destination, but this can not work as we have the db open, running the code.
Th Docmd. RunCommand accmdcompact optioin opens a file dialog to search for the file you wish to compact.
Please help. This is needed as we are using temp tables and they tend to blow the db size out if you don’t compact.