Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

compact repairing

Forum home » Delegate support and help forum » Microsoft Access Training and help » Compact & Repairing

Compact & Repairing

ResolvedVersion 2016

Bhavin has attended:
Access Introduction course

Compact & Repairing

Hi!

Is there a way of automatically "Compact & Repairing" a database after running a multiple queries?

Many Thanks

B

RE: Compact & Repairing

Hi Bhavin,

Thank you for the forum question.

Yes but it must be VBA coded.

You can "Compact & Repairing" automatically every time you close the database. You will find this option under Access Options -> Current database.


Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

RE: Compact & Repairing

Hi Jens,

Thank you for your assitance.

Is there any way you could show me how the VBA coding works for this please?

Thanks!

B

RE: Compact & Repairing

Hi Bhavin,

To use Access VBA in a database can be very complicated and you will have to understand VBA. I do not know if you have VBA knowledge or programming knowledge, but you will need a onQuery event to tricker the Compact and Repairing tool.

Why do you want to do, what you want?

Kind regards

Jens Bonde
Microsoft Office Specialist Trainer

Tel: 0207 987 3777
Best STL - https://www.stl-training.co.uk
98%+ recommend us

London's leader with UK wide delivery in Microsoft Office training and management training to global brands, FTSE 100, SME's and the public sector

Will be marked as resolved in 5 days

Notice: This is an automated message. Due to inactivity, this forum post will be marked as 'resolved' if there are no further responses in the next 5 days.

Mon 12 Feb 2018: Automatically marked as resolved.

Access tip:

Hiding rows and columns

To hide a column or row in Access, you need to minimise the column or row. This can be done by placing your mouse on the right edge of a column, wait for the mouse to change to a double aroow and then drag to minimise the column

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.13 secs.