Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Corrupt entries in Memo Fields

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

636 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