M
Matt
I am a relative newbie to Access DB design and am looking for some assistance
in setting up appropriate relationships between tables so that I can run
queries and report against them. The scenario involves student information
and standardized testing reults from a variety of testing sources and years.
I have been able to get all of my data imported from flat files and allocated
to tables based on their originating source. The Tables contain the
following info:
Student Info:
Student ID
Last Name
First Name
Address
Various Demographic Info
Testing Source 1
Student ID
Last Name
First Name
Test Result 1
Test Result 2
Test Result 3...
Testing Source 2
Student ID
Last Name
First Name
Test Result 1
Test Result 2
Test Result 3...
Testing Source 3
Student ID
Last Name
First Name
Test Result 1
Test Result 2
Test Result 3...
etc.
I have Student ID set as the primary key for the Student info table and an
access assigned autonumber primary key for all of the other tables.
Intuitively, I would think that the relationship should be defined with the
student ID. It is the common value for all tables.
I have tried defining this a number of ways:
-Student ID related to student ID for all all of the testing tables
-Student ID related to Student ID for all tables
I am initially trying to run a query which will report on a subset of test
results for all students. For Example
Last Name - First Name - Student ID - Test Source 1.test1 - test source
2.test1
when I run the query, I get no results.
Any assistance you can provide is greatly appreciated!
Matt
in setting up appropriate relationships between tables so that I can run
queries and report against them. The scenario involves student information
and standardized testing reults from a variety of testing sources and years.
I have been able to get all of my data imported from flat files and allocated
to tables based on their originating source. The Tables contain the
following info:
Student Info:
Student ID
Last Name
First Name
Address
Various Demographic Info
Testing Source 1
Student ID
Last Name
First Name
Test Result 1
Test Result 2
Test Result 3...
Testing Source 2
Student ID
Last Name
First Name
Test Result 1
Test Result 2
Test Result 3...
Testing Source 3
Student ID
Last Name
First Name
Test Result 1
Test Result 2
Test Result 3...
etc.
I have Student ID set as the primary key for the Student info table and an
access assigned autonumber primary key for all of the other tables.
Intuitively, I would think that the relationship should be defined with the
student ID. It is the common value for all tables.
I have tried defining this a number of ways:
-Student ID related to student ID for all all of the testing tables
-Student ID related to Student ID for all tables
I am initially trying to run a query which will report on a subset of test
results for all students. For Example
Last Name - First Name - Student ID - Test Source 1.test1 - test source
2.test1
when I run the query, I get no results.
Any assistance you can provide is greatly appreciated!
Matt