A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Multiple Last Names



 
 
Thread Tools Display Modes
  #1  
Old August 8th, 2007, 06:50 PM posted to microsoft.public.access.tablesdbdesign
bcg
external usenet poster
 
Posts: 2
Default Multiple Last Names

I'm bulding a database to track donations for a non-profit organization.
Many of the donors have two last names (ie. husband Smith, wife Jones). I've
built the table using fields: 1st First, 1st Last, 2nd First, and 2nd Last,
however when I attempted to do a report (labels), I had to do two separate
querys: 1. to get all donors with one last name; and, 2. to get all donors
with two last names.

Any suggestions? I feel like this is going to be an issue
  #2  
Old August 8th, 2007, 07:22 PM posted to microsoft.public.access.tablesdbdesign
B. Edwards
external usenet poster
 
Posts: 24
Default Multiple Last Names

Normalize your data structure. Something like:

tblDonor
DonorKey
DonorSinceDate
OtherDonorSpecificInformation

tblPerson
PersonKey
DonorKey -- links back to tblDonor
SurName
GivenName
BirthDate
Gender
OtherPersonSpecificInformation


"bcg" wrote in message
...
I'm bulding a database to track donations for a non-profit organization.
Many of the donors have two last names (ie. husband Smith, wife Jones).
I've
built the table using fields: 1st First, 1st Last, 2nd First, and 2nd
Last,
however when I attempted to do a report (labels), I had to do two separate
querys: 1. to get all donors with one last name; and, 2. to get all donors
with two last names.

Any suggestions? I feel like this is going to be an issue



  #3  
Old August 9th, 2007, 09:26 AM posted to microsoft.public.access.tablesdbdesign
Jamie Collins
external usenet poster
 
Posts: 1,705
Default Multiple Last Names

On 8 Aug, 19:22, "B. Edwards" wrote:
Normalize your data structure. Something like:

tblDonor
DonorKey
DonorSinceDate
OtherDonorSpecificInformation

tblPerson
PersonKey
DonorKey -- links back to tblDonor
SurName
GivenName
BirthDate
Gender
OtherPersonSpecificInformation


Normalize your data structure. A table either models an entity type or
a relationship between entities but not both. DonorKey is not an
attribute of a person.

At its simplest this could involve an entity table for donors and a
relationship table, say, donor accounts to model associations between
donors. I think there may be more entity types, though e.g.

Persons (identifier, person-specific attributes);
Donors (identifier from the Persons table, donor-specific attributes);
DonorAccounts (identifier, account-specific attributes);
DonorAccountMembership (identifier from the DonorAccounts table,
identifier from the Donors table, account membership -specific
attributes);

What about corporate donors? CRM (prospects, suspects, lapses, etc)?
Temporal? As ever, the aim is to make things as simple as possible but
no simpler.

Jamie.

--


  #4  
Old August 9th, 2007, 04:02 PM posted to microsoft.public.access.tablesdbdesign
Klatuu
external usenet poster
 
Posts: 7,074
Default Multiple Last Names

Jamie,
Can you describe to me the difference between the DonorAdcount an
DonorAccountMembership tables, please? I don't really understand the
difference.
Thanks.
--
Dave Hargis, Microsoft Access MVP


"Jamie Collins" wrote:

On 8 Aug, 19:22, "B. Edwards" wrote:
Normalize your data structure. Something like:

tblDonor
DonorKey
DonorSinceDate
OtherDonorSpecificInformation

tblPerson
PersonKey
DonorKey -- links back to tblDonor
SurName
GivenName
BirthDate
Gender
OtherPersonSpecificInformation


Normalize your data structure. A table either models an entity type or
a relationship between entities but not both. DonorKey is not an
attribute of a person.

At its simplest this could involve an entity table for donors and a
relationship table, say, donor accounts to model associations between
donors. I think there may be more entity types, though e.g.

Persons (identifier, person-specific attributes);
Donors (identifier from the Persons table, donor-specific attributes);
DonorAccounts (identifier, account-specific attributes);
DonorAccountMembership (identifier from the DonorAccounts table,
identifier from the Donors table, account membership -specific
attributes);

What about corporate donors? CRM (prospects, suspects, lapses, etc)?
Temporal? As ever, the aim is to make things as simple as possible but
no simpler.

Jamie.

--



  #5  
Old August 9th, 2007, 04:34 PM posted to microsoft.public.access.tablesdbdesign
Jamie Collins
external usenet poster
 
Posts: 1,705
Default Multiple Last Names

On 9 Aug, 16:02, Klatuu wrote:
Jamie,
Can you describe to me the difference between the DonorAdcount an
DonorAccountMembership tables, please? I don't really understand the
difference.
Thanks.


The 'account' is the name I'm using to describe the association of one
or more (or perhaps zero) donors and the DonorAccountMembership is the
donors who are currently (or perhaps have been) members of that
account. I wouldn't assume that an account ceases to exist because it
currently has no members (normalization issue called 'update anomaly'
I think) but note this isn't my domain.

Jamie.

--


  #6  
Old August 9th, 2007, 04:46 PM posted to microsoft.public.access.tablesdbdesign
Klatuu
external usenet poster
 
Posts: 7,074
Default Multiple Last Names

Thanks, I think I understand it this way.
An Account is a fund set up by the agency for specific purposes (normal in a
NFP environment).

Account Membership, then, is a list of donors which have subscribed to
contribute to the fund whether the have in the past or future or not.

Is that correct?
--
Dave Hargis, Microsoft Access MVP


"Jamie Collins" wrote:

On 9 Aug, 16:02, Klatuu wrote:
Jamie,
Can you describe to me the difference between the DonorAdcount an
DonorAccountMembership tables, please? I don't really understand the
difference.
Thanks.


The 'account' is the name I'm using to describe the association of one
or more (or perhaps zero) donors and the DonorAccountMembership is the
donors who are currently (or perhaps have been) members of that
account. I wouldn't assume that an account ceases to exist because it
currently has no members (normalization issue called 'update anomaly'
I think) but note this isn't my domain.

Jamie.

--



  #7  
Old August 10th, 2007, 08:52 AM posted to microsoft.public.access.tablesdbdesign
Jamie Collins
external usenet poster
 
Posts: 66
Default Multiple Last Names


"Klatuu" wrote:

Thanks, I think I understand it this way.
An Account is a fund set up by the agency for specific purposes (normal in a
NFP environment).

Account Membership, then, is a list of donors which have subscribed to
contribute to the fund whether the have in the past or future or not.

Is that correct?


As I said, I have no knowledge in this domain and don't know the OP's
business requirements to set a reasonable scope on the entities (it's really
easy to blow entity types out of all proportion to end up with 30 tables when
three would do g).

Using a domain I do know, a one or more legal persons (a natural person or
an organisation) can be the owner one or more shares issued by an
incorporated body; this relationship is an entity in its own right and has
attributes (e.g. beneficial owner). AFAIK there is no official term to
describe the relationship between the owners (if anyone reading this knows of
one I'd love to learn it) so I picked the word 'account' out of thin air.

Jamie.

--


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:36 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.