Solved

Corrupt entries in Memo Fields

Posted on 2001-09-12
2
380 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 58

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

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.
Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
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 specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

691 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