473,402 Members | 2,046 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

Record corruption problems

I have an Access 2000 app which is in use by about 20 clients on LANs
where each LAN would have between 2 and 6 PCs networked. The main form
is a tabbed form with multiple subforms. It has been in use for several
years and the only corruption issues I have had have been a few
instances of a corrupted memo field and I've been able to copy and paste
the rest of the record successfully.

After a recent update (I update the front end regularly), I have had
quite a few instances where clients have noted corrupted records where
the entire record is lost. Typically #Deleted appears in every field and
after repair & compacting, ######## appears in every field. These fields
are then easily deleted, but the data is lost. The update involved
(among other things) ensuring the subform recordsources were not set
until required, to speed up data entry. The corrupted records appear to
be random and it's usually only one record in a table of many hundreds
of records.

I've searched the newsgroup for answers regarding corruption but haven't
found anthing that has helped yet. Because it's happened to several
clients, I don't think its related to faulty NICs etc. Or, if it is, why
should I be losing entire records now, whereas in the last 5 or so
years, I've only ever lost a few memo fields?

Anyone have any ideas?

Owen Jenkins
Mar 7 '07 #1
3 1802
"Owen Jenkins" <oj@healthbase.com.au>
I've searched the newsgroup for answers regarding
corruption but haven't found anthing that has helped
yet. Because it's happened to several clients, I don't
think its related to faulty NICs etc. Or, if it is, why
should I be losing entire records now, whereas in
the last 5 or so years, I've only ever lost a few
memo fields?
Could it be that just one NIC has recently "gone bad"? Or, one or more NICs
have developed intermittent errors? Doesn't take a "catastrophic event" to
cause enough of a spike to cause NIC problems. That said, although,
ungraceful degradation is a known cause of corruption, there are others --
recent software updates, perhaps a DLL involved in the O/S writing to disk,
or such.

Larry Linson
Microsoft Access MVP

But, the first place to look is your most recent update -- check carefully.

As a resource on avoiding corruption, it's hard to beat MVP Tony Toews' site
http://www.granite.ab.ca/accsmstr.htm.

Anyone have any ideas?

Owen Jenkins

Mar 7 '07 #2
>Could it be that just one NIC has recently "gone bad"? Or, one or more NICs
have developed intermittent errors? Doesn't take a "catastrophic event" to
cause enough of a spike to cause NIC problems. That said, although,
ungraceful degradation is a known cause of corruption, there are others --
recent software updates, perhaps a DLL involved in the O/S writing to disk,
or such.

Larry Linson
Microsoft Access MVP

But, the first place to look is your most recent update -- check carefully.
Thanks Larry,

I don't have the ability to troubleshoot NICs, but I'll look carefully
at my update, particularly for any 'concurrency' issues. I just wish I
could reproduce the corruption on my own PCs so I could find a cause. I
suspect it is something I have caused with my coding somewhere. I've
considered all the corruption/networking posts and am not quite sure
where to go next.
Mar 7 '07 #3
Thanks Larry,
>
I don't have the ability to troubleshoot NICs, but I'll look carefully
at my update, particularly for any 'concurrency' issues. I just wish I
could reproduce the corruption on my own PCs so I could find a cause.
I suspect it is something I have caused with my coding somewhere. I've
considered all the corruption/networking posts and am not quite sure
where to go next.

I've looked more closely at this and have found that I can reliably
corrupt a record by doing the following ...

Open two separate but identical front ends on one PC each linking to the
same back end.
Edit a records in one front end and leave it unsaved.
Edit the same record in the other front end and save the change.
Save the change in the first front end - this pops up the Write Conflict
message to which I click Save.
About 10-20 seconds later, all fields in the record are replaced with
|||||||||||||||||||||||||||. Sometimes this causes corruption of the
file, sometimes not.

Obviously saving a change to a record in 2 front ends is not a good
thing to do, but should it corrupt the record? What is the point of the
Write Conflict box if one of the options corrupts the record.

Strange thing is, this happens when the front and back ends are in
Access 2000 format or when the FE is 2003 and BE 2000. It never happens
when the BE is A97 format, whether the FR is A97, 2000 or 2003.

Any more ideas?

Owen
Mar 9 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: BT3 | last post by:
I am trying to replace a single record in a flat file. The file is relatively small and no need for database. I open the file, and save the ftell() value in a variable. I read a record using...
5
by: Noa Garnett | last post by:
I'm developing on C++, using visual studio 6.0 with service pack 5. I have a memory corruption while debugging. Some of the variables I'm using are suddenly set to zero while progressing along the...
10
by: Arno R | last post by:
Hi all Yesterday I found a strange corruption-issue that I can't solve yet or actually point my finger at. I converted an A97 app to A2k. I have done this often enough so I didn't expect trouble...
2
by: Chris Taylor | last post by:
I keep getting the following message when trying to delete a single record from the table. "Search key was not found in any record" The record I'm trying to delete has errors in it and when...
26
by: jamesbeswick | last post by:
I've been using Access since version 97 and I've migrated to 2003. I've noticed a substantial number of strange ActiveX/OLE and code corruption problems when writing databases. The only solution...
2
by: nepdae | last post by:
Please forgive me, this is a long one. My 11-user Access 2000 database is having recurring corruption problems. The symptoms include the following: 1) corrupted fields in recently created or...
0
by: ian | last post by:
One of my customers occasionally gets a corrupted record - where all the fields show #error and forms bound to the damaged table do not open (the VBA code doesn't execute) and the error message is...
4
by: corey11 | last post by:
I'm a very low-level developer with limited VB knowledge but nonetheless was able to put together a very user-friendly and extremely helpful Access 97 database for my company some 10 years back. We...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.