G
Guest
I have a databse which creates and drops 15 - 20 large tables each day. I
want to mimic the compact on close feature available on later versions of
Access. I have tried the below at the end of my code which builds and drops
the tables
CommandBars("Menu Bar").Controls("Tools").Controls("Database
utilities").Controls("Compact database").accDoDefaultAction
But this prompts for file names, then does not allow compaction because the
file is open.
Can anyone point me in the right direction
want to mimic the compact on close feature available on later versions of
Access. I have tried the below at the end of my code which builds and drops
the tables
CommandBars("Menu Bar").Controls("Tools").Controls("Database
utilities").Controls("Compact database").accDoDefaultAction
But this prompts for file names, then does not allow compaction because the
file is open.
Can anyone point me in the right direction