Backup table

R

Richard B. Wright

Greetings:

I have a table that I would like to backup on a periodic basis. My current
train of thought is to create queries/macros/event procedures to accomplish
this.

current table ---> click on cmd btn to purge all records 90 days old. I
want to append these records to a perviousily created table. Any ideas how
to do this without appending records already in the archived table?

Thanks,

Rick W.
 
K

Kelvin Lu

If you are purging the records that are to be backuped up, you shouldn't
have a problem about duplicate data. An easy way to accomplish this would
be to write a standard append query with the criteria set to
Date() - 90. Then a delete query. Make your button then run the two
queries.

Kelvin
 
R

Richard B. Wright

Thanks Kevin, I did as you suggested -- "write a standard append query
with the criteria set to
Date() - 90. Then a delete query. Make your button then run the two
queries." -- but the append query keeps appending the same records.
Thanks for any suggestions!
 

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