Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Seminars   Templates   TechHelp   Fast Tips   Forums   Help   Contact   Join   Order   Logon  
 
Glossary

New Entries Added Almost Daily!
Click here to get on our Mailing List

   

   Access    Excel    Word    Windows    HTML

 
MS Access

Compact Repair

Using the Compact/Repair Feature in Access

In this tutorial you will learn how to use the CompactRepair Function.

Reasons to compact regularly: if you do a lot of Import/Export.

Access 2007+

Tools > Options

General and checking Compact on Close.

Access 2003 Access 2003

Options -> Current Database -> Compact on close.

VBA
	Application.CompactRepair sourceFile, destinationFile
	
	Application.SetOption "Auto compact", True
	

Rick Rost (Avatar) Rick's Thoughts: I personally do NOT like automatically compacting. I've seen databases get corrupted this way. I like to make it a calendar item for myself once a week to (a) backup, and then (b) compact.

Tips

See Access Tips.

Search

You can find more about this by searching the website.

MS Articles

Macro


Alex Hedley (Avatar) By: Alex Hedley


Click here to sign up for more FREE tips

 

Check out these other pages that may be of interest to you:

12/1/2022Load Faster
11/29/2022Date Buttons
11/29/2022Change Date Field
11/28/2022Top X
11/27/2022System Settings
11/25/2022Application Title
11/24/2022Full HTML Editor in Access
11/24/2022Change Database Title
11/23/2022Other Names
11/21/2022Check Icon File
 

 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
amicron@gmail.com
Blog RSS Feed    Twitter

YouTube Channel    LinkedIn