Solved

Corrupted memo field

Posted on 1998-01-15
4
426 Views
Last Modified: 2008-03-04
I support a relatively large Access 97 application which is installed at 2 of our customers.  The following problem only occurs on on of them:

The main table (Orders) has one memo field.  In the past month or so, I've run into a problem where the memo field on a specific record will go corrupt, and display "#error" in the place where the data should be.  All the other fields on that record appear OK.

When this happens, you can't compact the database.  If you do, it says "The jet database engine stopped this process because you and another user are attempting to edit the same data at the same time".   If I run a repair of the database, it says "Repaired successfully", but the problem still exists.

So, the only way I've been able to resolve the problem is the write a little function to loop through all 130,000 records to find the corrupted one.  Then I delete it, and the database compacts just fine.

This is happening at the rate of about 2-3 records per week.  Not tragic, but a real nuisance.

So...
1.  Is there a way to solve the problem without deleting the record?

2.  How can I prevent this from occuring?

More info:
Server:       Novell 4.1
Workstations: Windows 95, Pentium, 32 MB RAM
Database size: ~75 Meg


0
Comment
Question by:slpatches
  • 2
4 Comments
 
LVL 9

Expert Comment

by:cymbolic
ID: 1965678
Have you tried deleting your .LDB file, then compacting.  It may be your locks file is bad.  
0
 
LVL 3

Author Comment

by:slpatches
ID: 1965679
Yes.  I've tried that.  Same result.
0
 
LVL 12

Accepted Solution

by:
Trygve earned 100 total points
ID: 1965680
Try setting Default Record Locking to Edited record. It seems like the this default is set to No Locks by default. This will prevent two users from working on the same record and this might be the reason for your problem.
0
 
LVL 3

Author Comment

by:slpatches
ID: 1965681
Thanks. I'll try that.  When I know the results, I'll grade the question.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Most if not all databases provide tools to filter data; even simple mail-merge programs might offer basic filtering capabilities. This is so important that, although Access has many built-in features to help the user in this task, developers often n…
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…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

707 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

13 Experts available now in Live!

Get 1:1 Help Now