Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Matching one Table to another.

Status
Not open for further replies.

airbus2

Technical User
Apr 16, 2008
31
0
0
US
I have a simple question to a complex structure. What is the best way to setup this example? I have 10 employees identified by their employee number in one table called "employees". In another table I have 15 courses that they have to take (test 1, test 2, test 3, etc.). I want a form (frmTests)that will show their score for each test.
 
well you will need another table with these fields

EmployeeScoreId
EmployeeID
TestId
Score
 
Do you really have your second table set up like Test1, test2, test3,etc? that's not normalized...something like this would be set up like this:

Employee
EmployeeID
EmployeeName

Test
TestID
TestName

EmployeeTests
EmployeeID
TestID
Score

Leslie
 
you may also want to add a TestingDate field to EmployeeTests so you know what day the person took the test (if that's applicable)

Leslie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top