HELP: Unique Button Function

T

Tim

Access 2000

Is there a way to set up a command button that will carry out the function
of COMPACTING & REPAIRING the database?
 
K

Klatuu

look in VBA Help for the runcommand method.
Why not just use the Compact on Close option in Tools->Options on the
General tab?
 
T

Tim

The users of this database have little/no knowledge of Access, and I wanted
to have a button posted on the switchboard so that it would be an easy thing
to remember.
 
Top