S
Stephen
Hi,
I have an 11 table Database all relating to "Student Information" SSN
(primary key). The rest of the tables have SSN also, but they don't have a
primary key field in any of those tables. When I create a multiple table
query with three or more tables I obtain many records if I have duplicating
SSN in the Assignment table or any other table. For example, the tables are
set up in the following manner:
Student Information Table
SSN-Primary Key (Text)
Roll Call Number – Auto Number
First Name-Text
Last Name - Text
Gender – Text
Birth Date – Date
Attendance Table
SSN – Text
Date – Date
Present –Yes/No
Absent – Yes/No
Tardy – Yes/No
Time Arrived – Text
Assignments Table
SSN – Text
Completed Assignments – Yes/ No
Type of Assignment- Text
Grade – Number
When I set up the query, I have the tables relate to the SSN. When I run
the query, I obtain duplicate data. It looks like when I have the same SSN
listed more than twice in the assignments table I get duplicate date.
I am not sure why I am getting many records. I have a join between the
tables or query. Also all the join properties are the same. I still not
sure what’s wrong.
If the table design is wong, how would i fix it. Most of the tables are set
up the same way.
Thanks in advance
I have an 11 table Database all relating to "Student Information" SSN
(primary key). The rest of the tables have SSN also, but they don't have a
primary key field in any of those tables. When I create a multiple table
query with three or more tables I obtain many records if I have duplicating
SSN in the Assignment table or any other table. For example, the tables are
set up in the following manner:
Student Information Table
SSN-Primary Key (Text)
Roll Call Number – Auto Number
First Name-Text
Last Name - Text
Gender – Text
Birth Date – Date
Attendance Table
SSN – Text
Date – Date
Present –Yes/No
Absent – Yes/No
Tardy – Yes/No
Time Arrived – Text
Assignments Table
SSN – Text
Completed Assignments – Yes/ No
Type of Assignment- Text
Grade – Number
When I set up the query, I have the tables relate to the SSN. When I run
the query, I obtain duplicate data. It looks like when I have the same SSN
listed more than twice in the assignments table I get duplicate date.
I am not sure why I am getting many records. I have a join between the
tables or query. Also all the join properties are the same. I still not
sure what’s wrong.
If the table design is wong, how would i fix it. Most of the tables are set
up the same way.
Thanks in advance