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.