K
kingnothing via AccessMonster.com
Hi All,
Firstly thank you for helping me with the initial hurdle of how to set up a
DSN etc. Now i have done that successfully and am in the process of designing
a database. I seem to have been stuck in a place i cant get out of.
The situation is like this..
Tables
---------
A contact table - Usual stuff here
An Insurance Table - All Insurance details
Spouse Table - Info about spouse
Child table - Child Info
Requirements
------
contact can have multiple insurances, children and spouses..
Each Child can have multiple insurances
Each spouse can have multiple insurances
Contact is the primary table....with insurance, spouse and child tables
linked in 1 - many relationships
Relationships
-------
Contact linked to Insurance with Contact ID (Primary key) and Foreign key in
Insurance 1-many
Contact linked to Spouse with Contact ID (Primary key) and Foreign key in
Spouse 1-many
Contact linked to child with Contact ID (Primary key) and Foreign key in
Child 1-many
Simillarly Spouse and Child are linked to Insurance with Spouse ID , Child ID
and Foreign key with 1-many
The problem.....I dont know if this is the right way of doing it??
Can someone please advice me on this...
Regards,
kingnothing
Firstly thank you for helping me with the initial hurdle of how to set up a
DSN etc. Now i have done that successfully and am in the process of designing
a database. I seem to have been stuck in a place i cant get out of.
The situation is like this..
Tables
---------
A contact table - Usual stuff here
An Insurance Table - All Insurance details
Spouse Table - Info about spouse
Child table - Child Info
Requirements
------
contact can have multiple insurances, children and spouses..
Each Child can have multiple insurances
Each spouse can have multiple insurances
Contact is the primary table....with insurance, spouse and child tables
linked in 1 - many relationships
Relationships
-------
Contact linked to Insurance with Contact ID (Primary key) and Foreign key in
Insurance 1-many
Contact linked to Spouse with Contact ID (Primary key) and Foreign key in
Spouse 1-many
Contact linked to child with Contact ID (Primary key) and Foreign key in
Child 1-many
Simillarly Spouse and Child are linked to Insurance with Spouse ID , Child ID
and Foreign key with 1-many
The problem.....I dont know if this is the right way of doing it??
Can someone please advice me on this...
Regards,
kingnothing