473,508 Members | 2,274 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

conflicts in mail permissions

I'm making a db for a client whose clients often share a household. For
example, one household member may become a client, with one or more others
becoming clients later. So I have a table for People and another for
Households - so that mailings can go to a household and not be duplicated.

What if each person in the household sets mailing permissions differently?
One says "yes, send me news of new events" and another says "no, don't
contact me?" In this case, the mailing would have to go just to the
individual, not be addressed to the household. What's the simplest way to
handle this in the db?

It looks as if MailPermissions has to be a field in the People table only.
So somehow the query for a mailing list would have to check to see if all
persons in a household has the appropriate permission level for the mailing.
If so, the mailing would go to the household. If not, the mailing would go
to the individual(s). The address would be the same either way - it's just
the name that would vary. e.g. Jim Smith vs. Jim & Judy Smith.

Is this a workable approach? I'm still so focused on table design that I
haven't learned enough about queries so I don't even know if what I'm
envisioning will work. And it certainly seems complicated. Maybe there's a
much better way? TIA
Nov 12 '05 #1
3 1517
"Catherine Jo Morgan" <cj******@hemc.net> wrote in message news:<Kf********************@hemc.net>...
I'm making a db for a client whose clients often share a household. For
example, one household member may become a client, with one or more others
becoming clients later. So I have a table for People and another for
Households - so that mailings can go to a household and not be duplicated.

What if each person in the household sets mailing permissions differently?
One says "yes, send me news of new events" and another says "no, don't
contact me?" In this case, the mailing would have to go just to the
individual, not be addressed to the household. What's the simplest way to
handle this in the db?

It looks as if MailPermissions has to be a field in the People table only.
So somehow the query for a mailing list would have to check to see if all
persons in a household has the appropriate permission level for the mailing.
If so, the mailing would go to the household. If not, the mailing would go
to the individual(s). The address would be the same either way - it's just
the name that would vary. e.g. Jim Smith vs. Jim & Judy Smith.

Is this a workable approach? I'm still so focused on table design that I
haven't learned enough about queries so I don't even know if what I'm
envisioning will work. And it certainly seems complicated. Maybe there's a
much better way? TIA


You have a 1..n (one to many) relationship between Household and
Occupant. These should be separate tables.

You don't say what the front end (if any) there is to this, but for
the sake of argument let's assume an Access application.

You need some method of capturing the Occupant's mailing preference,
with some kind of default (such as "No Mailings" or whatever suits
your client's business).

It would be relatively straightforward to check for the mailing
preferences of all Occupants and devise some code to send appropriate
mailings (per household if all occupants say "Yes, please" or per
occupant if one or more say "No, thanks".) Your design might mandate
a mailing permissions field on the Household table, but in the
information you provided this would seem to me to be derived data, and
therefore Not A Good Thing (TM).

Without table designs I can't be more specific. I am intrigued,
however, how you got the job of designing this database when what
appears on the face of it to be such a simple design and
implementation consideration is put to the public in this way.

Edward
--
The reading group's reading group:
http://www.bookgroup.org.uk
Nov 12 '05 #2

"Edward" <te********@hotmail.com> wrote in message
news:25*************************@posting.google.co m...
Your design might mandate
a mailing permissions field on the Household table, but in the
information you provided this would seem to me to be derived data, and
therefore Not A Good Thing (TM).

Without table designs I can't be more specific. I am intrigued,
however, how you got the job of designing this database when what
appears on the face of it to be such a simple design and
implementation consideration is put to the public in this way.

Edward


Yes, I can see that the Household mailing permissions need to be calculated
from the mailing permissions of the individuals. Thanks. Now that you point
that out it seems obvious.

As to how I got a job designing a database when it's clearly way over my
head...long story, but I'm stuck with it. I'll just have to learn. Thanks
for helping.
Nov 12 '05 #3
"Catherine Jo Morgan" <cj******@hemc.net> wrote in message news:<wg********************@hemc.net>...
"Edward" <te********@hotmail.com> wrote in message
news:25*************************@posting.google.co m...
Your design might mandate
a mailing permissions field on the Household table, but in the
information you provided this would seem to me to be derived data, and
therefore Not A Good Thing (TM).

Without table designs I can't be more specific. I am intrigued,
however, how you got the job of designing this database when what
appears on the face of it to be such a simple design and
implementation consideration is put to the public in this way.

Edward


Yes, I can see that the Household mailing permissions need to be calculated
from the mailing permissions of the individuals. Thanks. Now that you point
that out it seems obvious.

As to how I got a job designing a database when it's clearly way over my
head...long story, but I'm stuck with it. I'll just have to learn. Thanks
for helping.


I don't know what your level of expertise is, but if you get stuck on
anything, post it here. 95% of us are happy to help - I have had some
really tricky things sorted out by people on c.d.m-a (For example, if
you want a hand with the SQL to determine various mailing options, put
up the table designs and the requirements and I'm sure you'll get what
you want)

Edward
--
The reading group's reading group
http://www.bookgroup.org.uk
Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1436
by: Dave | last post by:
This question is aimed at users of replicated databases. We have had recently a lot of Unique Key conflicts. Where the big keys in the tables (cant remember name) {1234-4321-1234-4321-1234}...
2
2265
by: Leonard | last post by:
I am using SmtpMail on a couple of ASP.NET pages. When mail is sent to an address outside the domain I get the "Could not access 'CDO.Message' object." error message. I have looked in the...
1
2747
by: festivalman | last post by:
Hi, sorry if this is in the wrong spot. Finding the newsgroups on MS's site could have been easier Here's my problem I've got some old asp's that are running our simple web site. In a section,...
2
4416
by: GD | last post by:
Hi, An intranet application, with a SMTP mail function that lets users to attach files with emails by selecting files in their local computers (through a file browser component), works perfect on...
3
2232
by: Brian Farnhill (MCP VB.NET) | last post by:
Hi, I am having some trouble using the MailMessage object to send an email with more than one attachment. I am working on a web based application where a user can submit information, along...
11
10952
by: rherring | last post by:
Hello, I have some C++ code that builds against 2 headers files that contain the same function name declaration (gethostname). The header files are not directly included. They are included via...
3
3536
by: Klaas Vantournhout | last post by:
Hi, I am using CLAPACK to do lots of matrix operations, but this is done on complex matrices. There I also need to work with normal complex operators, I use also the standard complex library. ...
2
1776
by: =?ISO-8859-1?B?RulybmFz?= | last post by:
Hey all, I have a URGENT problem and I hope someone could help me... scenery: I have a windows app, coded using C# (framework 1.1 - VS2003)... The exe and dlls of the app is are stored in a...
15
8311
by: squrel | last post by:
Hi everyone.. i need ur help once more time.... i have a form called reminder..in tht form i have: txtid, txtcaseid, txtreminder, cmbremindby(system or user), txtremindto, dtpreminddt,...
0
7333
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7398
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7061
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7502
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4716
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3208
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3194
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1566
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
428
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.