A family of Microsoft relational database management systems designed for ease of use.
Hi guys,
Thanks for all your replies.
It turns out that Google Drive was causing the problems. The folder containing the database backs up to Google and the syncing process meant Access thought the file was in use. By waiting until syncing has finished the compact works fine.
Thanks again for your help.