Button to compact & repair current database

darkmastergyz

Registered User.
Local time
Today, 14:38
Joined
May 7, 2006
Messages
85
Is there a way to add a button which would automatically compact and repair my current database? Thanks.
 
Note that a compact/repair closes all the open objects, so this will close the form it's on and it will not reopen it. In the code for your Compact/Repair button, just put this:

SendKeys ("%T D C")
 

Users who are viewing this thread

Back
Top Bottom