martakeithy
Technical User
Hi,
I have a database with a list of clients who I wish to send mail, and then keep brief details of the type of mail, date sent etc...
What I have at the moment is a client table and mailshot table. The client table has name address etc...
The mailshot table holds the type of mailshot; leaflet, brochure etc...
As the relationship between them was m:n, I have seperated them with a small sentmail table. This table contains the primary keys from client and mailshot tables, plus a primary key of it's own.
I have made a query based on client and mailshot, which selects clients by geographical area and the mailshot id - so far so good. This query is then mailmerged with a word letter.
The problem is I want to keep a record of the mailshot. I thought I could use the small table to do this, just to store all the client primary keys to whom mailshots were sent?
First of all is this the best way?
Secondly, how do I move to the sentmail table, all the primary keys of the clients selected for the mail shot. I also want to move the primary key of the mailshot table to the sentmail table.
I would be relieved if anyone could suggest a way to sort this out.
Thanks
Marta
I have a database with a list of clients who I wish to send mail, and then keep brief details of the type of mail, date sent etc...
What I have at the moment is a client table and mailshot table. The client table has name address etc...
The mailshot table holds the type of mailshot; leaflet, brochure etc...
As the relationship between them was m:n, I have seperated them with a small sentmail table. This table contains the primary keys from client and mailshot tables, plus a primary key of it's own.
I have made a query based on client and mailshot, which selects clients by geographical area and the mailshot id - so far so good. This query is then mailmerged with a word letter.
The problem is I want to keep a record of the mailshot. I thought I could use the small table to do this, just to store all the client primary keys to whom mailshots were sent?
First of all is this the best way?
Secondly, how do I move to the sentmail table, all the primary keys of the clients selected for the mail shot. I also want to move the primary key of the mailshot table to the sentmail table.
I would be relieved if anyone could suggest a way to sort this out.
Thanks
Marta