L
L. Petchell
Hi,
I'm working on a database for a homeschool co-op in Oregon. Our school has
grades k-12 and we have the basic and elective type classes. So, the database
is set up with student info and class info. This would seem to be a "many to
many" relationship.
I've set up a student main form and our goal is for the school directors to
assign classes to students from the classes subform (which should pull from
the classes table). From what I've researched in many to many relationships,
you need an inner join table. So I created a table that has these fields;
StudentClassesID
StudentID
ClassesId
I would like the directors to go to the main student form, pick a student,
then assign classes to that student by selecting the classes from a drop down
list. The classes willl then be related to the student. I'm just not sure how
to set up the subform to handle this. I would like the classes subform to be
in datasheet view.
Another kink is that the main classes table uses look up fields based on
several smaller tables (such as; tblClassNames, tblClassLevel, tblType). This
was done to keep uniform spelling throughout. I don't think the main classes
table will mess up the inner join on the classes subform............but I
can't seem to get the set up correct.
I'm using Access 2003 with Win XP. Please also know that I'm only an
intermediate level user and do not know SQL. Other than a few classes I've
taken, I'm self-taught (enough to get myself into trouble offering my
services).
Any help is greatly appreciated.
I'm working on a database for a homeschool co-op in Oregon. Our school has
grades k-12 and we have the basic and elective type classes. So, the database
is set up with student info and class info. This would seem to be a "many to
many" relationship.
I've set up a student main form and our goal is for the school directors to
assign classes to students from the classes subform (which should pull from
the classes table). From what I've researched in many to many relationships,
you need an inner join table. So I created a table that has these fields;
StudentClassesID
StudentID
ClassesId
I would like the directors to go to the main student form, pick a student,
then assign classes to that student by selecting the classes from a drop down
list. The classes willl then be related to the student. I'm just not sure how
to set up the subform to handle this. I would like the classes subform to be
in datasheet view.
Another kink is that the main classes table uses look up fields based on
several smaller tables (such as; tblClassNames, tblClassLevel, tblType). This
was done to keep uniform spelling throughout. I don't think the main classes
table will mess up the inner join on the classes subform............but I
can't seem to get the set up correct.
I'm using Access 2003 with Win XP. Please also know that I'm only an
intermediate level user and do not know SQL. Other than a few classes I've
taken, I'm self-taught (enough to get myself into trouble offering my
services).
Any help is greatly appreciated.