K
KarenF
Hi,
I am working on a membership database with a colleague. When someone's
membership expires, we want to archive their membership record into an
archive table and we can do this using an append and then a delete query.
Our problem is that some of the records we have in our membership table have
"child" records in a box office table, where we can record which events the
member has bought tickets for.
We are enforcing referential integrity, which I know must be causing this
problem. We are not cascading delete related fields.
My question is, if we relate the archived table to the box office table, a
relationship would still exist. However, would Access be happy with us
deleting the member having appended the record to the box office table? I
suspect not. We wish to automate this via a drop down box on a form to use
as the criteria for the append and delete queries and create a macro to run
them together (which I am happy doing, but we're having the referential
integrity problem). If we are successful in this route, we will need to be
able to delete the record without having to remove the table relationships
first.
If anyone has any ideas, or if I'm making it very difficult when there's an
easier way, then we'd be really grateful for any help.
Thanks.
Take care,
Karen
I am working on a membership database with a colleague. When someone's
membership expires, we want to archive their membership record into an
archive table and we can do this using an append and then a delete query.
Our problem is that some of the records we have in our membership table have
"child" records in a box office table, where we can record which events the
member has bought tickets for.
We are enforcing referential integrity, which I know must be causing this
problem. We are not cascading delete related fields.
My question is, if we relate the archived table to the box office table, a
relationship would still exist. However, would Access be happy with us
deleting the member having appended the record to the box office table? I
suspect not. We wish to automate this via a drop down box on a form to use
as the criteria for the append and delete queries and create a macro to run
them together (which I am happy doing, but we're having the referential
integrity problem). If we are successful in this route, we will need to be
able to delete the record without having to remove the table relationships
first.
If anyone has any ideas, or if I'm making it very difficult when there's an
easier way, then we'd be really grateful for any help.
Thanks.
Take care,
Karen