missing records

G

Guest

All of a sudden, several records have disappeared from my Access database,
which I have been using for over 3 years. They are totally gone, and I can't
figure out why or how. I am the only person using this database. Could a
thunderstorm with lightning have affected it? Or is this some type of
corruption?
Is there any way to get the missing records back? I don't have a good
backup copy.
 
S

strive4peace

Perhaps the records are not gone... are you using a query to display
them? If so, perhaps they are simply not showing. Are you comparing
the number of records in each TABLE to what you used to have?

although this information won't help you now, it is something that would
be highly useful to add to anything else you develop or work with in the
future so you can do better comparisons:

*** Tracking date record was created or updated ***

Add these 2 fields to all your tables (except lookups) and make them the
last 2 fields.

DateCreate, date, DefaultValue = Now()
DateUpdate, date – set on the form BeforeUpdate event

the best way to use the DateCreate field is to set a default value of
=Now()
in the table design.

For DateUpdate, make sure it is on your form (I put it in the form
footer and LOCK it. Then, use the Form BeforeUpdate event to set the value

me. DateUpdate = now()

'~~~~~~~~~~~~~~~~

another thing to do is to compare what is common with the missing
records by linking to a backup of the table in your database and using
queries to compare them

'~~~~~~~~~ Decompile ~~~~~~~~~

if the database has gotten corrupted, try decompiling the database

make an icon with this as its target:

"C:\Program Files\Microsoft Office\Office\MSACCESS.EXE"
"C:\path\filename.mdb" /decompile

if your Access program is not located in the directory specified, make
the appropriate substitution

after you decompile, compile it if you have any code and then do
compact/repair

'~~~~~~~~~ ~~~~~~~~

you can also make a "generic" decompile icon where the next database you
open will be decomipled...

ie:
"C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" /decompile


Warm Regards,
Crystal
*
:) have an awesome day :)
*
MVP Access
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top