D
dee
Hi,
I'm trying to design a form that will allow me to select student names when
they have won an award. Here are the details:
As many students may win many awards (many to many) I have three tables:
Table 1: StudentInfo
StudentID (PK)
Student First
Student Last
DOB
Gender
School
Grade
Table 2: Awards
AwardID (PK)
Award Name
Organization
Description
Table 3: StudentAwards
StudentID (FK)
AwardID (FK)
StudentAwardsID (PK) (I am using this as opposed to ajoint StudentID and
AwardID PK because one student may get the same award many times, just on
different dates)
Date
Comments
I created a query called Awards that I base a form on that is used to input
new awards. No problem.
I created another query that pulls the award information from the QryAwards
(to sort), plus I pull the StudentLast and StudentFirst fields from
QryStudentInfo (to sort), plus I pull AwardDate and Comments from the
TblStudent Awards table.
I then created a form based on the query described above. So far, so good.
What I want to achieve, though is a combo-box that will allow me to select
the student name to avoid typing and typos, then I will input the date and
comments manually.
I tried a combo box, but can't figure out how to concatenate the last and
first name fields and populate the StudentAwards table properly. I guess
what I really want is to view the concatenated names, but in reality populate
the StudentID FK in the TblStudent Awards table.
Help! Thanks!
I'm trying to design a form that will allow me to select student names when
they have won an award. Here are the details:
As many students may win many awards (many to many) I have three tables:
Table 1: StudentInfo
StudentID (PK)
Student First
Student Last
DOB
Gender
School
Grade
Table 2: Awards
AwardID (PK)
Award Name
Organization
Description
Table 3: StudentAwards
StudentID (FK)
AwardID (FK)
StudentAwardsID (PK) (I am using this as opposed to ajoint StudentID and
AwardID PK because one student may get the same award many times, just on
different dates)
Date
Comments
I created a query called Awards that I base a form on that is used to input
new awards. No problem.
I created another query that pulls the award information from the QryAwards
(to sort), plus I pull the StudentLast and StudentFirst fields from
QryStudentInfo (to sort), plus I pull AwardDate and Comments from the
TblStudent Awards table.
I then created a form based on the query described above. So far, so good.
What I want to achieve, though is a combo-box that will allow me to select
the student name to avoid typing and typos, then I will input the date and
comments manually.
I tried a combo box, but can't figure out how to concatenate the last and
first name fields and populate the StudentAwards table properly. I guess
what I really want is to view the concatenated names, but in reality populate
the StudentID FK in the TblStudent Awards table.
Help! Thanks!