Solved

Corrupt entries in Memo Fields

Posted on 2001-09-12
2
370 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
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…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now