Solved

Corrupt entries in Memo Fields

Posted on 2001-09-12
2
376 Views
Last Modified: 2012-06-27
I work with a fairly large (10.5 MB) Access database, which recently went completely haywire. After a great deal of myself and my colleagues tearing our collective hair out, we discovered that the reason behind our main problem (one of the make-table queries wouldn't work), was one single corrupt record in one of our main tables.

The error we got when we tried to run the Query was the one about 'The Microsoft Jet Database utility halted the operation, because you and someone else are trying to change the same data at the same time'.

The same error comes up when you click in a Memo field of this record on the main table, which contains the '#error' alert. Plus, if you run a query that excludes the record, it will work fine.

But we can't alter the record, we can't delete the record, we can't do anything at all really without this error coming up.

The first question is... how on earth do I repair the database? How do I expunge the corrupt record when I can't get access to it?

The second question is, why? Apparently, this error occurs when there is 'bad data' in a memo or OLE field. But what is 'bad data' exactly? And how did it get there?

Hope someone can help!
0
Comment
Question by:wearyphilosopher
2 Comments
 
LVL 57

Accepted Solution

by:
Jim Dettman (Microsoft MVP/ EE MVE) earned 75 total points
ID: 6476929
"The first question is... how on earth do I repair the database? How do I expunge the corrupt record
when I can't get access to it?"

 Make a new MDB, import everything in but that one table.  Then import the table definition only, setup the old table as a linked table in the new MDB.  Write an append query to the new table that fetches all the records but that one.

 You might also want to try JETCOMP.EXE, a standalone repair /compact utility.  It can be gotten from Microsoft's web site.


<<The second question is, why? Apparently, this error occurs when there is 'bad data' in a memo or OLE
field. But what is 'bad data' exactly? And how did it get there?>>

 Someone abnormally disconnected while they had pending writes to the MDB.  Since JET is client based, there is no centeral db monitor process that can roll back the MDB.  This is the main problem with JET.

Jim.
0
 

Author Comment

by:wearyphilosopher
ID: 6477016
Mr Dettman... I am in your debt!

We have run this problem by our own IT support unit, but this is a lot clearer than the feedback they have given us! We've had a lot of odd network goings on of late (new and replaced hardware, heavy network traffic and bad slow-downs), which might explain how the 'abnormal disconnection' you mentioned occurred.

It's extraordinary to think one single corrupt record can bring an entire database crashing to a halt like this, but luckily there are experts such as yourself to help us along when they do.

Thanks for your time.

Andrew.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone 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

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
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…

829 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