Programmatically compact DB

A

Antonio

Is there a way to programmatically compact the DB? I
created my toolbars
and NOT showing the Access toolbars, but I would like to
programmatically
compact the DB on DB closing...is it possible? Thanks
 
A

Antonio

Could you tell me where I can find the coding for it? I
don't want to display Access' toolbars. Thanks
 
R

Rosco

In Access 2K, Select the tools/Options menu and, select the General
tab. In the lower left corner of the form check the the Compact on
close check box.

Once this is done, close all the menus, rehide the menu bar. Your app
will compact on close automatically each time there-after.


Hope this helps
Rosco
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top