On Wed, 18 Feb 2004 15:41:08 -0800, Russel Loski wrote:
Quote:
You would need to use the ActiveX script. You would need to initialize a
DAO database object and then open the database. |
Or JRO. Just create an instance of JRO.JetEngine, and call the method
CompactDatabase giving it the source name and destination name.
Afterwards, you could use the FileSystemObject to move the new,
compacted database over the old database file.
Quote:
The main difficulty you would have in doing this is that you will need
to close all of your connections to the Access database to do it. |
--
Ross McKay, WebAware Pty Ltd
"Words can only hurt if you try to read them. Don't play their game" - Zoolander