Solved

Corrupted memo field

Posted on 1998-01-15
4
436 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
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…
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…

820 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