473,382 Members | 1,786 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,382 software developers and data experts.

Massive record loss in Access 2003

344 Expert 100+
Can any of the experts throw any light on this situation.

I have a multi-user (backend/frontend) database in Access 2003, with about 15 main tables, and associated lookup tables.

This system is a double-entry system, i.e. all data is entered twice, by two different teams, into two different sets of tables. All the tables are normalised and linked as required.

This database has been corrupted a number of times, mainly due to constant power cuts and when it gets corrupted, normally 1 table loses its relationships and 1 record. Sometimes, the whole table is lost.

The main table is tblWomen and at this point in the system, tblWomen is having no records added or deleted, though they are being ammended.

On Friday, one of the data entry persons reported 97 women had dissappeared from tblWomenDoubleEntry (I have a routine to check the double entry values). When the supervisor did a full check, over 56,000 records had dissapeared. He sent me the database from India and yes, 56,000+ records had gone, but no sign of corruption, no damaged indicies, no bad records.

I copied the missing records across from tblWomen, but, has anyone seen this sort of corruption before?

My code has not changed for months, so I can't see how that can have caused it, and the staff in India have no access to the underlying tables, only access through my code.

Obvioulsy, I am worried this might happen again, and if it happens on both sides, single and double entry, we could be in big trouble. (And yes, we do take daily backups, well, I hope we do, we are supposed to, but I am in North London and the system is in Hyderbad:)

Thanks in advance if anyone has any insight on this.
May 3 '11 #1
9 2250
NeoPa
32,556 Expert Mod 16PB
Not a lot it seems Lysander :-(

I'll post a link in the Help thread in case that triggers more comments.
May 10 '11 #2
MMcCarthy
14,534 Expert Mod 8TB
do you have any synchronisation routines for tblWomenDoubleEntry. I'm thinking if there was some kind of crash during sychronisation this could be where the problem arose.

If the users don't (and can't get???? - as in some clever idiot pressed a button which showed the database window) get access to the tables then the problem has to arise in some routine that acts on that table.

Hope that sends you in the right direction.

Mary
May 10 '11 #3
Lysander
344 Expert 100+
Thanks Mary,

I know what you mean about synch routines and there is such a routine for a monthly monitoring table but the women, and womendoubleentry tables were populated during an initial survey 3 years ago and the only change now made to those tables is to flag individual women as having died. There is no option to delete women in code. I am loath to point the finger at some smart alec in India accessing the tables directly as I have no evidence of that at all:)
May 10 '11 #4
MMcCarthy
14,534 Expert Mod 8TB
Are you sure the records were actually deleted and not just corrupted? Check to see if there are a load of records with ###'s in them.

If there are this kind of corruption occurs when the database doesn't have the edited record lock set usually.
May 10 '11 #5
NeoPa
32,556 Expert Mod 16PB
Another way to check for unresponsive records is to run an update query (which has no net effect) on the whole dataset and see how many records are reported as being updated. I have often noticed a larger number of records reported when I clear down a table (DELETE FROM [tblXXX];) than are listed as extant at the time.
May 10 '11 #6
Lysander
344 Expert 100+
Hi Mary,

The problem has been fixed and the database sent back to India but there were no 'funny' looking records and a compact and repair produced no errors. Also, normally when the table gets corrupted it loses its primary key and all its relationships. In this case, everything looked fine except for the missing records.

Have just got a fresh copy from India, after another weeks work and everything is normal. Also just searched the whole project for tblWomenDoubleEntry and there are no instances of "Delete" in the code.

Very strange. As the clinical trial ends this month, just have to put it down to one of MicroSofts mysteries.
May 10 '11 #7
MMcCarthy
14,534 Expert Mod 8TB
Make sure the edited record lock is on anyway. It's a good precaution on a multiuser db.
May 10 '11 #8
NeoPa
32,556 Expert Mod 16PB
Your database could maybe check that Default Record Locking is set to Edited record in the registry.

I'm running Office 2003 and my version number is therefore 11.0. I found the Registry Value in the registry under the Key :
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\A ccess\Settings\

Module to Read From the Windows Registry may help if you need it.
May 10 '11 #9
Lysander
344 Expert 100+
Thanks NeoPa, and sorry for the delay, I must have missed your post. I can't check the registry entry as the database is running on a server in Hyderabad, India and there is no-one there competent to mess with the registry.

As we are running 10 different databases, all of similar type and nothing like this has happened in 5 years, I am going to have to assume a 1-off weird corruption.

(BTW, having had massive record locking issues in another project, before we sent out the 1st database 5 years ago, I had 10 students enter and delete data continously for 4 hours and we had no locking issues:)
May 18 '11 #10

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Brian Andrus | last post by:
Ok. I upgraded to MS Access 2003 recently and now I am having great heartache. In Access 2002, when I opened a table to view the data, there were wonderful little "plus" signs that I could click...
7
by: Ottar | last post by:
I've made a program sorting incomming mail in public folder. The function runs every minute by using the form.timer event. In Access XP it runs for weeks, no problem. Access 2003 runs the same...
5
by: Tom | last post by:
Am about to upgrade several machines running access 97 to new boxes with access 2003. Got a massive access front end DB with a SQL back end. Guess I will have to "upgrade" that '97 front. ...
17
by: Jana | last post by:
Howdy! I have an Access 2003 SP1 where data tables reside on a server & each workstation runs the front end locally. All 5 users are on the same version of Access. We've been having problems on...
3
by: RayPower | last post by:
I'm having a system using Access 2000 as both front-end (queries, forms, reports & temp tables for reports) & back-end (data) with back-end running on the server. The application runs on the...
5
by: Grubsy4u | last post by:
Hi all, My name is Daniel Iam trying to learn visual basic and I have been having problems building a marco in Access 2003 that will allow me to extract data from my Excel 2003 spreadsheet into my...
1
by: shayvillere | last post by:
I have a corrupt record that disappears after a compact, but reappears several days later. This is on a widely distributed Access 2003 application that is used by about 100 users. The database...
4
by: jay123987 | last post by:
Morning / Afternoon / Goodday All, I was hoping someone can help me in understanding the best way to attach files to a access 2003 form. I have a database which is used to log phone calls and...
2
by: I7arkHiro97 | last post by:
Hi, I am a beginner to VBA. I am using MS access 2003. I found some code that works great for sending automatic emails to a list of recipients. My email addresses are housed in a table on access...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.