Network Computer

          Systems, Inc.

Computer Consulting and Network Installation Services

Consulting services focused on security, design and installation.

info@networksystemsinc.net

Phone:  (509) 464-2340    Toll Free:  (866) 519-2676

Support
Security
Thin Clients
Technology
Web Hosting
SPAM
Backup
Training
Home

Back To : On-Line Training Center

Repairing Damaged Access Databases with the Jet Compact Utility

In most cases, Microsoft Access detects whether an Access database (.mdb) is damaged when you try to open it, and displays a dialog box that gives you the option to repair it.

Usually you can successfully recover a damaged database by doing one of three things:

bullet Repair the database from the dialog box that Access displays when it detects a damaged database.
bullet Open the Tools menu in Access, point to Database Utilities, and then click Compact and Repair Database.
bullet Run Visual Basic for Applications (VBA) code that uses the CompactDatabase method of either Microsoft Jet and Replication Objects (JRO) or Microsoft Data Access Objects (DAO).

Sometimes these utilities will fail. Microsoft Product Support Services provides an additional, unsupported database-compacting utility named the Jet Compact Utility (Jetcomp.exe), which might be able to recover some databases that the standard compacting utilities cannot. This is because the standard utilities attempt to open and close a database before compacting it. If these utilities cannot reopen the database, compacting cannot proceed, and the database cannot be recovered. The Jet Compact Utility does not attempt to open and close the database before compacting, and may be able to recover some damaged databases that the standard utilities cannot.

For information about downloading the Jet Compact Utility, read article Q295334, ACC2002: Jet Compact Utility Available in Download Center on the Microsoft Knowledge Base Web site.

 

Back To : On-Line Training Center

 

   

Send mail to info@networksystemsinc.net with questions or comments about this web site.
Copyright © 2008 Network Computer Systems, Inc.
Last modified: March 18, 2008