access

Forum home » Delegate support and help forum » Microsoft Access Training and help » Access 2000

Access 2000

resolvedResolved · Low Priority · Version 2000

Nick has attended:
Access Intermediate course
Access VBA course
Access Advanced course

Access 2000

Hello,
Is it possible to have Access automatically compact and repair a database.

RE: Access 2000

Hi Nick

Thank you for your question

It is possible to write a VBA procedure that will compact and repair the database. This uses the CompactRepair method of the application object.

Its use is fairly complex and a detailed description is beyond the scope of the forum. While it is not specifically covered on the VBA Access course, you will acquire the skills required to interpret and apply it.

For the moment further information can be gained by typing CompactRepair into the VBE help box

Regards

Stephen

Tue 31 Mar 2009: Automatically marked as resolved.


 

Access tip:

Related tables

When you have related tables such as Customers and their Orders, the Customer table is the Primary table.

Open the Customers table in datasheet view and go to the Home Tab and Records group. Click on the More option and choose Subdatasheet and then click on Subdatasheet again. Now choose the related table (Orders) and click ok.

Now you can click the + symbol by each company to show the related orders.

View all Access hints and tips


Server loaded in 0.08 secs.