M
Melissa
I have 3 tables - tblRecruits, tblEvaluations, and
tblContacts. There is a one-to-many relationship between
tblRecruits and tblEvaluations and a one-to-many
relationship between tblRecruits and tblContacts.
Using a macro, I want to run an append and then a delete
query on all fields of all three tables based on the
GradYear field in tblRecruits. (Specifically, I want all
Class of 2002 Recruits along with all of their evaluations
and contacts appended to archive tables and then deleted
from my active database.) The archive tables are currently
located within my active database. There is a remote
possibility that I would need to access the data in the
future; so I want to keep it. However, I want to move
these Recruits out of my active system. I will build the
query with the parameter [Enter Grad Year] so that this
query can be run annually.
My question:
Can I do this within one append query and one delete query
or do I have to do an append query for each table and a
delete query for each table? I have tried doing it within
one, but cannot get the Append To row to allow different
table destinations.
Any help is appreciated.
tblContacts. There is a one-to-many relationship between
tblRecruits and tblEvaluations and a one-to-many
relationship between tblRecruits and tblContacts.
Using a macro, I want to run an append and then a delete
query on all fields of all three tables based on the
GradYear field in tblRecruits. (Specifically, I want all
Class of 2002 Recruits along with all of their evaluations
and contacts appended to archive tables and then deleted
from my active database.) The archive tables are currently
located within my active database. There is a remote
possibility that I would need to access the data in the
future; so I want to keep it. However, I want to move
these Recruits out of my active system. I will build the
query with the parameter [Enter Grad Year] so that this
query can be run annually.
My question:
Can I do this within one append query and one delete query
or do I have to do an append query for each table and a
delete query for each table? I have tried doing it within
one, but cannot get the Append To row to allow different
table destinations.
Any help is appreciated.