R
raymartin
I have a small table in MS Access 2003, using the default MS Access 2000
format - not linked or joined to anything. There are about 4,000 records in
it, and I found a single row with #DELETED all across it. I understand that
if I delete a row it is immediatley deleted and I don't see, or at least I'm
not supposed to see it. Yet here is a single row with this problem. Why would
this happen? Is there an option to view deleted records? Is there an option
to purge or drop deleted records? Is this because I'm using Access 2033 with
the default Access 2000 format?
I had written about this table in a previous post - it has a prime key with
no dups - but sometimes also has duplicate records. I have recreated the
database from scratch as advised, but sometimes this still happens. All
opinions are that the index gets corrupted, but if so it gets corrupted
easily (every day) without any effort on the part of the users, so I don't
think that's the problem anymore. I have no doubt that the indexes are NOT
corrupted - just that there is a way to insert duplicate records into a table
with PRIME KEY (No DUPS), and somehow I m doing this via VB.NET. It actually
appears that the duplicates are not caused by a user or program attmepting to
insert the same key twice - it really appears that what is happening is that
Access has some kind of temporary record that is not being properly removed
or cleared up, perhaps in a similar manner to the #DELETED record above.
Any help with this would be appreciated.
I am thinking of writing a script to run nightly that would copy/rename the
database using the same technique recommended by a previous post in how to
recover from corruption, but I don't know how to automte this and to do it
manually each night is not an option.
format - not linked or joined to anything. There are about 4,000 records in
it, and I found a single row with #DELETED all across it. I understand that
if I delete a row it is immediatley deleted and I don't see, or at least I'm
not supposed to see it. Yet here is a single row with this problem. Why would
this happen? Is there an option to view deleted records? Is there an option
to purge or drop deleted records? Is this because I'm using Access 2033 with
the default Access 2000 format?
I had written about this table in a previous post - it has a prime key with
no dups - but sometimes also has duplicate records. I have recreated the
database from scratch as advised, but sometimes this still happens. All
opinions are that the index gets corrupted, but if so it gets corrupted
easily (every day) without any effort on the part of the users, so I don't
think that's the problem anymore. I have no doubt that the indexes are NOT
corrupted - just that there is a way to insert duplicate records into a table
with PRIME KEY (No DUPS), and somehow I m doing this via VB.NET. It actually
appears that the duplicates are not caused by a user or program attmepting to
insert the same key twice - it really appears that what is happening is that
Access has some kind of temporary record that is not being properly removed
or cleared up, perhaps in a similar manner to the #DELETED record above.
Any help with this would be appreciated.
I am thinking of writing a script to run nightly that would copy/rename the
database using the same technique recommended by a previous post in how to
recover from corruption, but I don't know how to automte this and to do it
manually each night is not an option.