Code Snippets → Compact Database

ACCESS 2000 – 2003

 ACCESS 2007

 ANOTHER WAY (multiple versions)