473,406 Members | 2,345 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

How certain is a repair?

Tonight I had a corrupt database which Access was able to repair after I
made my backup. The database seems to be working well again. How certain can
I be that the database is repaired well and doesn't have any hidden errors
still inside. Should I take some other precautions? Should I rebuild the app
beforehand by importing the tables, reports etc in another databse?
Thanks for any advice.
john
Feb 22 '07 #1
3 1396
The database is probably okay.

Look in the list of tables for any new tables. If you see a name such as
Microsoft Repair Error, read the table to see what it says. You may find
that a bad record was deleted, or an index was dropped. Check the
Relationships diagram (Tools menu) to ensure each table's primary key is in
place and all relationships still exist.

Importing everything into a new app, while not essential, does force Access
to read all the objects from the database. So if there was a problem with
reading an object, it would show up by doing that. Before you do, I suggest
you decompile the app, and ensure that Name AutoCorrect is turned off in the
new app before importing. Then eliminate all references you don't need, and
check that it compiles.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"John" <jo@hn.comwrote in message news:er*********@textnews.wanadoo.nl...
Tonight I had a corrupt database which Access was able to repair after I
made my backup. The database seems to be working well again. How certain
can I be that the database is repaired well and doesn't have any hidden
errors still inside. Should I take some other precautions? Should I
rebuild the app beforehand by importing the tables, reports etc in another
databse?
Thanks for any advice.
john
Feb 23 '07 #2
"Allen Browne" <Al*********@SeeSig.Invalidwrote in
news:45**********************@per-qv1-newsreader-01.iinet.net.au:
Importing everything into a new app, while not essential, does
force Access to read all the objects from the database. So if
there was a problem with reading an object, it would show up by
doing that. Before you do, I suggest you decompile the app, and
ensure that Name AutoCorrect is turned off in the new app before
importing. Then eliminate all references you don't need, and check
that it compiles.
A decompile is only relevant if it's a front-end. Back ends, with
tables only, don't usually have any code in them to be decompiled.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Feb 23 '07 #3
Thanks Allen,
No new tables appeared and no links disappeared, so I'm not going into the
hassle of importing into a new database. Thanks for the info.
john

"Allen Browne" <Al*********@SeeSig.Invalidschreef in bericht
news:45**********************@per-qv1-newsreader-01.iinet.net.au...
The database is probably okay.

Look in the list of tables for any new tables. If you see a name such as
Microsoft Repair Error, read the table to see what it says. You may find
that a bad record was deleted, or an index was dropped. Check the
Relationships diagram (Tools menu) to ensure each table's primary key is
in place and all relationships still exist.

Importing everything into a new app, while not essential, does force
Access to read all the objects from the database. So if there was a
problem with reading an object, it would show up by doing that. Before you
do, I suggest you decompile the app, and ensure that Name AutoCorrect is
turned off in the new app before importing. Then eliminate all references
you don't need, and check that it compiles.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"John" <jo@hn.comwrote in message
news:er*********@textnews.wanadoo.nl...
>Tonight I had a corrupt database which Access was able to repair after I
made my backup. The database seems to be working well again. How certain
can I be that the database is repaired well and doesn't have any hidden
errors still inside. Should I take some other precautions? Should I
rebuild the app beforehand by importing the tables, reports etc in
another databse?
Thanks for any advice.
john

Feb 23 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Roeland | last post by:
Hello, I added in my (MSI) installer project an advertisable shortcut, that automatically repairs the installation when something is corrupted. It would be more fine to have a normal shortcut,...
3
by: Paolo | last post by:
Hi, I am trying to compact and repair my database, however every time I try it comes up a message saying: Table: "TempMSysAccessObject already exists", whenever I try to look for this table I...
0
by: Microsoft | last post by:
Hi, Here is the problem that Iam experiencing, does anyone has a suggestion/solution ?? I use C# .NET Deployment project to install my application, which installs few windows Services. The...
4
by: Peteroid | last post by:
Recently, and for reasons I don't know, the project I was working on started to compile either very slowly, or it was locking up. So, I repaired VS C++.NET 2005 Express via 're-installing' it...
6
by: Programatix | last post by:
Hi, I'm trying to distribute my application written using .NET Framework 2.0. It uses a MDB file for it's database. On certain machines with Windows XP (I have also tried updating them to...
11
by: ritenah | last post by:
I am running this command from a .bat file. "C:\pathToAccess\MSACCESS.EXE" "C:\pathToDatabase\db.mdb" /REPAIR Database repairs as expected, then shows the messge: "Successfully repaired the...
2
by: Ron | last post by:
Hi All, Using WinXP pro/Access 2000. I have a database that's been used for about 5 months. Transferred lots of data from a dos based program, then the users have been using it for that 5...
9
by: Ron | last post by:
New discovery. If I take a perfectly good database, and "compact/repair" on it with Access 2000 (seems to be at multiple sites--I've tried it with my system here, at another office on an...
4
by: zufie | last post by:
When I Repair/Compact my Access databse. I get icons/copies of a database named db1.mdb, db2.mdb, db3.mdb, etc... How else may I repair this database? Thanks!, Zuf
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.