473,406 Members | 2,371 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,406 software developers and data experts.

Access 2002 corruption

I have deployed an Access 2002 app in the standard way: individual
A2002 front-ends, one shared A2002 back-end.

A corruption occurred in a particular table in the back-end. I saw a
row whose fields were all #Deleted. I was unable to delete this row. I
did a compact/repair which moved this corrupted record to the very top
of the table, substituting the #Deleted's with ######'s. I was able to
delete this row.

From this point on, I witnessed some odd behaviour. Let's the say
table was called tblA.

* Going directly into tblA, I was able to edit and add records.

* Via a joined query between tblA and tblB (attempted in both the FE
and BE), I was *not* able to edit the contents of tblA. By changing
the query type from Dynaset to Dynaset (Inconsistent Updates) I was
able to.

I tried creating a new copy of the BE by importing all the tables from
the once-corrupt BE and tblA still presents the problems cited above.

Something has happened to tblA that continues to linger, even now that
the corrupted record has been removed and the BE compacted/repaired.

I am at a loss as to what to try next. Any advice?
Nov 13 '05 #1
2 1369

Chuck Van Den Corput wrote:
I have deployed an Access 2002 app in the standard way: individual
A2002 front-ends, one shared A2002 back-end.

A corruption occurred in a particular table in the back-end. I saw a
row whose fields were all #Deleted. I was unable to delete this row. I
did a compact/repair which moved this corrupted record to the very top
of the table, substituting the #Deleted's with ######'s. I was able to
delete this row.

From this point on, I witnessed some odd behaviour. Let's the say
table was called tblA.

* Going directly into tblA, I was able to edit and add records.

* Via a joined query between tblA and tblB (attempted in both the FE
and BE), I was *not* able to edit the contents of tblA. By changing
the query type from Dynaset to Dynaset (Inconsistent Updates) I was
able to.

I tried creating a new copy of the BE by importing all the tables from
the once-corrupt BE and tblA still presents the problems cited above.

Something has happened to tblA that continues to linger, even now that
the corrupted record has been removed and the BE compacted/repaired.

I am at a loss as to what to try next. Any advice?


I assume that you were able to update tblA via a join query _before_
the corruption happened...

If this is a corruption issue, I'd create a new empty copy of the table
from scratch, i.e. duplicate the design manually in table design view
or via VBA or SQL, and then copy the records from the old to the new
copy (again, by VBA or SQL, or by exporting to an external file and
back again) and see if you're still having the same problem. Even
better still, I'd create this 'identical' copy of tblA in a fresh .mdb
file, and copy all of the other necessary tables to the new .mdb file
as well and see if the problem persists.

HTH,
Bruce

Nov 13 '05 #2
>I assume that you were able to update tblA via a join query _before_
the corruption happened...
Yes.
If this is a corruption issue, I'd create a new empty copy of the table
from scratch, i.e. duplicate the design manually in table design view
or via VBA or SQL, and then copy the records from the old to the new
copy (again, by VBA or SQL, or by exporting to an external file and
back again) and see if you're still having the same problem. Even
better still, I'd create this 'identical' copy of tblA in a fresh .mdb
file, and copy all of the other necessary tables to the new .mdb file
as well and see if the problem persists.


Great advice. Here's what I did that worked. Not sure if any of these
steps were unnecessary.

1. created an empty database
2. copied in tblA from a corrupt-free backup of database
3. emptied tblA
4. copied in tblA from corrupted database, calling it tblB
5. loaded contents of tblB into tblA, including AutoNumber field (this
was important because of tblA's parent-child relationship with other
tables)
6. deleted tblA from corrupted database
7. imported "good" tblA from new database

Thanks for suggestion.
Chuck
Nov 13 '05 #3

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

Similar topics

20
by: John | last post by:
Hi, I've recently upgraded from Access 97 to Access 2002 & the performance basically stinks. I have tried the following items listed below but it has only had a minor impact: 1) Upgraded Jet...
28
by: deko | last post by:
After doing a lot of vba work, I've noticed the size of my mdb has grown, even though no data or objects have been added. I've read that the following procedure will remedy this and improve...
3
by: heather e blair | last post by:
We have an Access 2002 database of about 35 M with about 7 users. The data lives on the server (Windows 2000 server), while the queries, forms, reports, etc. live in a file that is on each...
3
by: Leinad Kong | last post by:
I'm using Access 2002, as front-end and back-end as well: 1) I faced database corrupted problems, when more than 1 user edit concurrently. I'm using All-records Locking, and open-exclusively as...
8
by: Ralph Fico | last post by:
I have been experiencing a strange corruption problem with an application I developed using MS Access 2000 and deployed using an .MDE file. The application is being used in a networked environment...
5
by: mr_mach7 | last post by:
I have an Access database that needs to be compacted and repaired almost on a daily basis. It is the front end that needs to be fixed, so other users cannot get into it when the problem happens....
47
by: ship | last post by:
Hi We need some advice: We are thinking of upgrading our Access database from Access 2000 to Access 2004. How stable is MS Office 2003? (particularly Access 2003). We are just a small...
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: Frav | last post by:
The Reps team have been experiencing that Access 2002 unexpectedly quits while working and also lots of Corruption Failures and "Record lock can not update" messages since the upgrade from...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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
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.