P
Pat Dools
Hello,
I will be handing over an Access 2003 database that will be used for data
entry and some light reporting. I have a button on the Switchboard that will
close the database, but I would also like to have a button that offers the
option to compact the database as needed. I understand that the 'Compact on
closing' option only compacts the 'front end' objects. My database is not
split out to 'front end' and 'back end'. My database contains everthing
within the one .mdb file and I intend to have the Database Window hidden, so
I won't be offering the option of going to 'Tools... Database Utilities...
Compact and Repair Database...'. Is there some code that I could stick
behind a command button to compact my database to make it easier for the user
to do this?
I will be handing over an Access 2003 database that will be used for data
entry and some light reporting. I have a button on the Switchboard that will
close the database, but I would also like to have a button that offers the
option to compact the database as needed. I understand that the 'Compact on
closing' option only compacts the 'front end' objects. My database is not
split out to 'front end' and 'back end'. My database contains everthing
within the one .mdb file and I intend to have the Database Window hidden, so
I won't be offering the option of going to 'Tools... Database Utilities...
Compact and Repair Database...'. Is there some code that I could stick
behind a command button to compact my database to make it easier for the user
to do this?