Dropping data (Data lost)

  • Thread starter Thread starter John Buckett
  • Start date Start date
J

John Buckett

Has anybody experienced rows vanishing out of an Access
table?

I have a large database 60 megs, and rows are dropping
out of the table, please comment will be most welcome.

Access 2000.
 
John Buckett said:
Has anybody experienced rows vanishing out of an Access
table?

I have a large database 60 megs, and rows are dropping
out of the table, please comment will be most welcome.

Access 2000.

How are you determining that the rows are "dropping out"? Are you
opening the table directly in datasheet view, or are you looking at a
form or query? If a form, is the form based on a query that either
applies criteria or joins multiple tables? If a query is involved in
either case, make sure that it's not the query that is unintentionally
excluding the records -- check in the table directly.

On the other hand, if you see rows in the table datasheet with #Error or
#Deleted in all fields, then you probably have some kind of corruption.
Please give more details of what you're seeing.
 
-----Original Message-----


How are you determining that the rows are "dropping out"? Are you
opening the table directly in datasheet view, or are you looking at a
form or query? If a form, is the form based on a query that either
applies criteria or joins multiple tables? If a query is involved in
either case, make sure that it's not the query that is unintentionally
excluding the records -- check in the table directly.

On the other hand, if you see rows in the table datasheet with #Error or
#Deleted in all fields, then you probably have some kind of corruption.
Please give more details of what you're seeing.

--
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)


.
Hi Dirk, I'm looking directly at the table. There are no
rows with #delete in them. I've had data vanish before
but it's always been an application. I've been over the
code and looked at all the deletes and update be none of
them could drop the rows.

John
 
rows with #delete in them. I've had data vanish before
but it's always been an application. I've been over the
code and looked at all the deletes and update be none of
them could drop the rows.

Hmm. I have not once, not ever heard of Access simply dropping rows,
though memo fields have been known to go missing due to corruption. I'm
trying to think whether index corruption could cause rows to go missing
without a trace, but I don't think so. Try running a SELECT COUNT query
on some field in the table that is not indexed; e.g.,

SELECT COUNT(SomeUnindexedField) AS NRecs
FROM MyTable;

and see if that count differs from the count you get when you simply
open the table in datasheet view. I don't know if this would turn up a
discrepancy even if the primary index is corrupt, but I figure it might.

If this is a very big table, how do you know that there are rows
missing? Is it a discrepancy in the total number of rows, or are you
looking for specific values that should be found but aren't, or what?
How many rows do you believe are missing, and do they have anything in
common?

At this point, my money would be on either code or queries that delete
or update records that they shouldn't, or else a user who is manually
deleting records. I've seen it happen, for example, where a user has
made a copy of a form and then deleted all the records out of it,
thinking "it's only a copy of the original form, so I can delete from it
wthout affecting the original form and its records."
 
-----Original Message-----
Has anybody experienced rows vanishing out of an Access
table?

I have a large database 60 megs, and rows are dropping
out of the table, please comment will be most welcome.

Access 2000.
.
You right to it turned out to be a user who when into
the back-end database and deleted the rows, thank for
your responses.

John Buckett
 
Back
Top