98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Access Training and help » Compact & Repairing
Compact & Repairing
Resolved · High Priority · Version 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.
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Access tip:Hide Access TablesOne method of stopping your Access tables appearing in Database window, is to rename the table(s) with the prefix usys. |