Hi There,
I'm trying to add a record(s) in a join table but I'm not sure what is the best way to do this. Here are my tables:
tblStudents
StudID (pk)
txtFname
txtLname
etc
tblClasses
ClassID (pk)
txtClassName
txtClassCode
etc
tblStud_Class
StudClassID (pk)
fk_StudID
fk_ClassID
I would like to have a Class form and then add the students to it. Is it possible to do this on one form (with the students in a subform maybe)?
Or do I need to setup the Class on a form then move to another form to add the students?
Lastly how do I add the foreign keys (fk) to the join table?
I'm sure this may have been answered many times before but I can't find it when I look it up as, "Many to Many Relationship Adding Records".
I'm trying to add a record(s) in a join table but I'm not sure what is the best way to do this. Here are my tables:
tblStudents
StudID (pk)
txtFname
txtLname
etc
tblClasses
ClassID (pk)
txtClassName
txtClassCode
etc
tblStud_Class
StudClassID (pk)
fk_StudID
fk_ClassID
I would like to have a Class form and then add the students to it. Is it possible to do this on one form (with the students in a subform maybe)?
Or do I need to setup the Class on a form then move to another form to add the students?
Lastly how do I add the foreign keys (fk) to the join table?
I'm sure this may have been answered many times before but I can't find it when I look it up as, "Many to Many Relationship Adding Records".