mr_e_landis
Registered User.
- Local time
- Today, 13:41
- Joined
- Feb 16, 2005
- Messages
- 28
I have been trying to figure out how to do this and the transferdatabase function wouldn't do what I needed. I have a table that has a bunch of records, each being a request for cad work somebody wants me to do. I change the status of each one to pending, working, or complete. Anyway I want to only keep the completed task records in the database for 90 days. After that the records will be exported to an archive database and purged from the working database. The problem I face is not getting the records I need “I used date stamps
” but getting the records I filtered to append the archive database table and not overwrite it. I made backups
of my db and am testing on those and cant figure this out. Below is the code I used to export. Like I said it overides the table rather than append...
Any ideas, pointers, stern words and a link to a post I missed, anything to help is appreciated.
Thanks,
Eric
Code:
DoCmd.TransferDatabase acExport, "Microsoft Access", _
"X:\Archive.mdb", acTable, "tRequest", _
"tRequest"
MsgBox "its done"
Thanks,
Eric