L
Lisa Reber
In the course of trying to normalize my database, I have
split my data into multiple tables:
Contacts (name, address, etc.)
Statuses (active member, newsletter receipient, volunteer,
etc.)
ContactStatus (Smith is all of the above, but not a board
member)
The above is a many-to-many relationship, right?
Anyway, I have 4000 names in Contacts and want to send a
bulk mailing to all those within a range of zip codes.
This narrows the list to 3200 names. (I don't want to
have to set up a new status for the mailer, because I can
use the zip code parameters.) Of the 4000 names, 600 have
status = newsletter, and I DON'T want to send the bulk
mailing to those in the zip range who receive the
newsletter, which is 460 names. If I add the ContactStatus
table to the bulk mail query, only those contacts with
some kind of status are included. I can visualize what I'm
after, in terms of sets and subsets from 6th grade? math,
but I can't come up the the right way to write a query
that will extract all Contacts with Status
Not "newsletter". After that all I have to do is apply the
zip code parameters. It seems like it should be simple!
The other thing I've been working on is a new table for
ContactVehicles - for contacts who have registered their
car for the show this year (4 names so far). Then I have
to eliminate them from the bulk mailing too. Should be the
same solution, right?
Thanks in advance - Lisa
split my data into multiple tables:
Contacts (name, address, etc.)
Statuses (active member, newsletter receipient, volunteer,
etc.)
ContactStatus (Smith is all of the above, but not a board
member)
The above is a many-to-many relationship, right?
Anyway, I have 4000 names in Contacts and want to send a
bulk mailing to all those within a range of zip codes.
This narrows the list to 3200 names. (I don't want to
have to set up a new status for the mailer, because I can
use the zip code parameters.) Of the 4000 names, 600 have
status = newsletter, and I DON'T want to send the bulk
mailing to those in the zip range who receive the
newsletter, which is 460 names. If I add the ContactStatus
table to the bulk mail query, only those contacts with
some kind of status are included. I can visualize what I'm
after, in terms of sets and subsets from 6th grade? math,
but I can't come up the the right way to write a query
that will extract all Contacts with Status
Not "newsletter". After that all I have to do is apply the
zip code parameters. It seems like it should be simple!
The other thing I've been working on is a new table for
ContactVehicles - for contacts who have registered their
car for the show this year (4 names so far). Then I have
to eliminate them from the bulk mailing too. Should be the
same solution, right?
Thanks in advance - Lisa