ACC2000: How to Compact Databases At a Scheduled Time (209979)
The information in this article applies to:
This article was previously published under Q209979 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies only to a Microsoft Access database (.mdb).
SUMMARY
This article describes a technique that you can use to start compacting one or more databases automatically at a scheduled time. You create a small
database with a table, a form, and a macro. The table stores the names of
the databases that you want to compact. The form contains a procedure in the Timer event that starts compacting the databases whose names are in the
table at the time specified in the procedure. The macro opens the form every time that you open the database.
REFERENCESFor more information about the Timer event or the TimerInterval property, click Microsoft Access Help on the Help menu, type timerinterval property in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Major | Last Reviewed: | 6/23/2005 |
---|
Keywords: | kbhowto kbinfo kbProgramming KB209979 |
---|
|