enriquemellado
Registered User.
- Local time
- Today, 14:31
- Joined
- Jul 22, 2007
- Messages
- 21
Hi
here is my question, and before someone says to search the forum, i did and can't find the answer... so i'll give it a shot with this thread
I have 2 tables.
1 has personal data: name, birthdate, sex... called tblmemberdata
1 has contaact data: address, phone #'s... called tblmembercontact
i did it that way because my db deals with members, and families, so addresses and home phone # are reapeated for every family member, but every family member needs it's own record.
i created a control id called IdAdress in the tblmemberdata that is related to the IdAddress which is the autonumber field, primary key of rhe table tblmembercontact that carries the adresses.
it created a one-to-many relationship.
which is what i'm looking for
each member has one address
but each address can have more than one member.
when i check the tables after trying with some member info.
i see that the addresses are repeated. the only thing different is the member id that is related to it.
but... doesn't this mean that the address is still being duplicated avery time a new member is related to it?
is this the way the relationship should work?
or am i doing something wrong.
thanks
here is my question, and before someone says to search the forum, i did and can't find the answer... so i'll give it a shot with this thread
I have 2 tables.
1 has personal data: name, birthdate, sex... called tblmemberdata
1 has contaact data: address, phone #'s... called tblmembercontact
i did it that way because my db deals with members, and families, so addresses and home phone # are reapeated for every family member, but every family member needs it's own record.
i created a control id called IdAdress in the tblmemberdata that is related to the IdAddress which is the autonumber field, primary key of rhe table tblmembercontact that carries the adresses.
it created a one-to-many relationship.
which is what i'm looking for
each member has one address
but each address can have more than one member.
when i check the tables after trying with some member info.
i see that the addresses are repeated. the only thing different is the member id that is related to it.
but... doesn't this mean that the address is still being duplicated avery time a new member is related to it?
is this the way the relationship should work?
or am i doing something wrong.
thanks