J
Joy M
Hi there -
I am designing a database for a nursery school. Info is collected for each
child, and for 2 parents of this child.
Parents have a unique set of data which is different from Child data.
What I am wondering is - Should I build a separate tblParent or include the
parent information as part of the child record ??
Initially I had tblChild and tblParent. There were fields, Parent1 and
Parent2, in tblChild which were foreign keys to tblParent.
But Access didn't like this setup, because it duplicated tblParent in the
Relationships diagram, when I tried to connect to it twice.
That is, it made tblParent and tblParent_1 on my relationship diagram.
Then I thought about putting the Parent information in the Child record,
because most of the time you are collecting info about 2 parents.
But it makes a really long child record, which is sort of hard to work with.
Should I be using a Junction table - with just the ChildID and the
ParentID?? One child can have > 1 parents. One parent can have > 1
children.
There is also information like emergency contact information and medical
information pertaining to the child. Should I store it in the child record,
or put it in
separate tables and link to it?
So I am having difficulty building my tables - what goes where ??!!
Your input will be greatly appreciated -- Thanks!
Joy
I am designing a database for a nursery school. Info is collected for each
child, and for 2 parents of this child.
Parents have a unique set of data which is different from Child data.
What I am wondering is - Should I build a separate tblParent or include the
parent information as part of the child record ??
Initially I had tblChild and tblParent. There were fields, Parent1 and
Parent2, in tblChild which were foreign keys to tblParent.
But Access didn't like this setup, because it duplicated tblParent in the
Relationships diagram, when I tried to connect to it twice.
That is, it made tblParent and tblParent_1 on my relationship diagram.
Then I thought about putting the Parent information in the Child record,
because most of the time you are collecting info about 2 parents.
But it makes a really long child record, which is sort of hard to work with.
Should I be using a Junction table - with just the ChildID and the
ParentID?? One child can have > 1 parents. One parent can have > 1
children.
There is also information like emergency contact information and medical
information pertaining to the child. Should I store it in the child record,
or put it in
separate tables and link to it?
So I am having difficulty building my tables - what goes where ??!!
Your input will be greatly appreciated -- Thanks!
Joy