chpicker
Programmer
- Apr 10, 2001
- 1,316
I discovered the other day that the index on my A/R table was corrupted. No problem, I thought...pulled everyone out of the forms that use it, locked the table down, and REINDEXed it.
Yesterday I discovered there were 23 transactions from that day that hadn't written their data to the table. Not only that, but no program errors had come up for the person that did them (and I trust this individual to come to me with any errors that pop up...she wouldn't have ignored them). So I started digging to try to figure out why.
Today, as I'm going through the backup data from the other day (backed up after the incident but before the REINDEX), I performed a SEEK on data that should have been added from one of those 23 transactions and got this error:
This leads me to believe that, during those 23 transactions, the index was updated but the table was not. Has anyone run into this? Any idea how this could possibly be verified and trapped so if it happens again we know about it?
Yesterday I discovered there were 23 transactions from that day that hadn't written their data to the table. Not only that, but no program errors had come up for the person that did them (and I trust this individual to come to me with any errors that pop up...she wouldn't have ignored them). So I started digging to try to figure out why.
Today, as I'm going through the backup data from the other day (backed up after the incident but before the REINDEX), I performed a SEEK on data that should have been added from one of those 23 transactions and got this error:
Code:
Index does not match the table. Delete the index file and re-create the index.