I have a BIG problem and it happens twice this week. All the records that
were added in the morning in two tables dissapear when computer is turned on
in the evening ?!?!? I can't believe ... These two tables have no relations,
i don't use DELETE statement anywhere in the code. Application is working on
single computer, there is no network environment. Records were inserted in
the tables 100% ... What's going on ? Database is Microsoft Access 2000, JET
4.0, ADO 2.7 +Visual Basic 6.0 code. Records were inserted with INSERT INTO
statement. I am using BeginTrans and CommitTrans statements.
Take a record count prior to inserting your records (you can simply open the
table and note the number of records displayed at the bottom of the data sheet),
then take another record count after. If your record count appears properly
increased after the insert and you are looking for your new records at the "end
of a table", that might be where you are having your problem. New records will
not always appear at the "end of a table" as there really isn't an end or a
beginning. You might want to insert an autonumber field to incrementally number
your records - that way you can sort by that field to locate those that were
last entered. If your record count has not increased after the insert, your
records were not appended to the table. If your record count is increasing after
the insert, but has dropped again the next time you open the database, the only
explanation I could offer is that the records have been deleted.