![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I want my database to be as simple as possible. One address may have one or more family member |
|
One family member may participate in one or more activite. |
#3
| |||
| |||
|
|
jype <jype (AT) bigfoot (DOT) com> wrote: I want my database to be as simple as possible. One address may have one or more family member I use one table only in this situation, with an record for the familiy and separate records for members. A field indicates the familiy number: SNR Name FamiliyNo 1 Familiy A blank 2 Member of Family A 1 Build a relation from SNR to FamiliyNo. |
|
If you want to send one letter (or whatever) per familiy, search for records where the field FamiliyNo is blank. |
|
One family member may participate in one or more activite. You'll need a table for the activities and a cross table where a record is the participation of a person in an activity. |

#4
| |||
| |||
|
|
I want my database to be as simple as possible. One address may have one or more family member One family member may participate in one or more activite. |
#5
| |||
| |||
|
|
Hmmm... your definition of simple escapes me. |
|
A name field that doesn't consistently hold someone's name? |
|
Why not just create 2 tables? familes, and people. families = <familiyid, familyname people = <peopleid, personname, familyid and relate the 2 family ids? |
#6
| |||
| |||
|
|
42 <nospam (AT) nospam (DOT) com> wrote: [Flat address file with families and family member using auto-relation] Hmmm... your definition of simple escapes me. I learnt that in this group and found it useful. A name field that doesn't consistently hold someone's name? I see the table as an address file. The Name field will hold the name if it's a person, the name of the company if it's a company and some familiy name if it's a familiy - since we want to use families to group the records. |
|
Why not just create 2 tables? familes, and people. families = <familiyid, familyname people = <peopleid, personname, familyid and relate the 2 family ids? Because I wouldn't want to have two tables in this case. |
#7
| |||
| |||
|
|
If we have the address in the address record *and* in the family member record(s) then were redundantly copying data. |
#8
| |||
| |||
|
|
42 <nospam (AT) nospam (DOT) com> wrote: [Flat address file with families and family member using auto-relation] If we have the address in the address record *and* in the family member record(s) then were redundantly copying data. First of all, I'm not a professional database designer, so there's no need to take anything I say or do seriously. I only posted the proposal because no one else had replied at the time. I'm sorry for the confusion I caused. |
|
As for this solution, I adapted an idea posted by Matthew Smith on Jan 26, 2003. The thread is archived here: |
![]() |
| Thread Tools | |
| Display Modes | |
| |