This tip shows you how to compact a database with a click of your mouse. When you use your mouse, you should notice that while the left mouse button selects items, the right mouse button opens menu options. This tip will show you how to add a right-click option to compact a database. To use this new feature, you would navigate to your database in Windows Explorer or My Computer - then you would right-click on the file and choose 'compact database'. Follow the instructions listed to make this possible.
Now if you want to compact a database, all you have to do is right-click on a database file in Windows Explorer or My Computer - and choose Compact Database.
Please note that you may use the same method to enable the "Repair" utility. To do so, follow the steps shown above, but substitute the word "repair" for the word "compact". For step 11 above, then, at the end of the line, one would type "%1" /repair
(continued on next page . . . )
Now if you want to compact a database, all you have to do is right-click on a database file in Windows Explorer or My Computer - and choose Compact Database.
Please note that you may use the same method to enable the "Repair" command line option. To do so, follow the steps shown above, but substitute the word "repair" for the word "compact". For step 11 above, then, at the end of the line, one would type "%1" /repair
From a user point of view, there appears to be no difference in the operation of these two command line options (/compact and /repair) in Access 2000. Both report that they are "compacting" the database. That the two functions of Access 97 are combined in the pull-down menus of the full version of Access 2000 also suggests that only one step is required to accomplish both purposes in the newer package.