Solved

How do you compact and repair a sealed off database?

Posted on 2012-04-03
3
425 Views
Last Modified: 2012-04-09
I have a database that has the ribbon hidden, the shift key disabled, the F-11 key disabled.  How do I get in there and compact and repair if the database has a problem?
0
Comment
Question by:Sasha42
3 Comments
 
LVL 47

Accepted Solution

by:
Dale Fye (Access MVP) earned 250 total points
ID: 37802096
If the application is not open, you  should be able to use the CompactRepair method from the Immediate window of another Access application.

After making a backup, try:

application.CompactRepair "SourceFilename", "DestinationFilename", True
0
 
LVL 77

Expert Comment

by:peter57r
ID: 37802134
(:-) Fix a problem with C & R?
That would be a novelty.  I can't ever remember C & R fixing any problem I had.
0
 
LVL 57

Assisted Solution

by:Jim Dettman (Microsoft MVP/ EE MVE)
Jim Dettman (Microsoft MVP/ EE MVE) earned 250 total points
ID: 37802149
You can't compact and repair the currently open database anyway.

  Just open Access without opening the app and you'll have access to the ribbon.

Jim.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Single Step Macro 4 41
Changing a line of VBA using VBA 3 32
Copied Report Does not run on a different Query Source ? 7 32
Importing Excel file into Access 5 22
Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question