?
Solved

Corrupt entries in Memo Fields

Posted on 2001-09-12
2
Medium Priority
?
382 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 300 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

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

764 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