Zigzag
Registered User.
- Local time
- Today, 21:56
- Joined
- Aug 19, 2007
- Messages
- 386
Hi,
I have been running a multi user application (30MB FE with 100mb BE) for the past 2.5years now without any problems until this morning. The application fell over due to a corrupt record in one of the tables (ARF table). I am 99% confident that this was due to a network card problem as it completely failed about an hour after the record was corrupted.
The DB was then compacted and repairing and the corrupt record was deleted.
The db appeared to run OK until a Delete Query was run that displayed the run time error 3086 Could not delete from the specified tables.
To get the system up and running and give myself a bit of thinking time I resorted to a backup of the backend data which worked fine.
After playing around and doing a bit of surfing I tried changing the Unique Records from No to Yes in the properties of the delete query and hey presto all was OK. I have never really paid much attention to this property before.
This now leaves me with a couple of question that I am hoping someone can help with.
In no particular order.
1, If this is being caused by corruption within one of my tables why cant I see it?
2, OK so I cant see it… how can I repair it?
3, Should I change the Unique Records property to yes in all of the Delete Queries or just the ones with more than one table?
4, Is setting the Unique Records to Yes masking a problem else where?
I have posted a stripped version to demonstrate.
( Open form1 and click the command button)
Garry
I have been running a multi user application (30MB FE with 100mb BE) for the past 2.5years now without any problems until this morning. The application fell over due to a corrupt record in one of the tables (ARF table). I am 99% confident that this was due to a network card problem as it completely failed about an hour after the record was corrupted.
The DB was then compacted and repairing and the corrupt record was deleted.
The db appeared to run OK until a Delete Query was run that displayed the run time error 3086 Could not delete from the specified tables.
To get the system up and running and give myself a bit of thinking time I resorted to a backup of the backend data which worked fine.
After playing around and doing a bit of surfing I tried changing the Unique Records from No to Yes in the properties of the delete query and hey presto all was OK. I have never really paid much attention to this property before.
This now leaves me with a couple of question that I am hoping someone can help with.
In no particular order.
1, If this is being caused by corruption within one of my tables why cant I see it?
2, OK so I cant see it… how can I repair it?
3, Should I change the Unique Records property to yes in all of the Delete Queries or just the ones with more than one table?
4, Is setting the Unique Records to Yes masking a problem else where?
I have posted a stripped version to demonstrate.
( Open form1 and click the command button)
Garry