Student course Registration setup

U

UnknownJoe

I have a small DB with tables for Student info and Course Info. The main
purpose of the DB is to be able to combine the two and create a Registration
table (and Form) that allow the user to select a current Course, Dates, and
then enroll or register as many students as necessary on the one form that
will create a record for each in the Registration table.

Any ideas would be appreciated.

Thanks.

JS
 
G

Gina Whipp

UnknownJoe,

Just realized you said you already had the tables, you are just looking for
Registration ideas. Well, what tables do you already have? It sounds like
you just need a *Join* table with a few additional fields but you might
already have one but without more data can't be sure.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm
 
K

KARL DEWEY

Sounds like you want an 'append' or [make table' query with a Cartesian effect.
Put both tables in the design view grid and select the fields you want in
the output.

When you run the query it will generate records of every combination of the
two tables.
 
U

UnknownJoe

I have 2 tables at this time. One is called Students, with a Student ID,
First Name and Last Name. The 2nd is called Courses, with only Course Name.

Within the 3rd table, which is what I'm looking at ideas for, is a Table and
Form to be called Registrations. Basically, I want to do the following on the
form:

(1) Choose a Course (from Course table)
(2) Choose a Start and End Date
(3) Select any number of Students (from the Student table)

I would prefer to have the form open and select a course, then proceed to
select and add students (ex. 1 - 20 students). I guess the problem would be
that each time I add an additional student, it would need to add another
record to the Registration table.

Thanks.
 
G

Gina Whipp

UnknownJoe,

If I am understanding you correctly... This would be my third table:

tblRegistrations
rStudentID
rCourseID
rStartDate (if not in tblCourses)
rDropped
rAudit
rAdditionalNotes
etc... BUT no fields that are included in tblStudents or tblCourses

Then in a subform you can select (register) students, either by Course (make
that the main form OR just make this your main form and proceed to register
Students and run reports to show who has registered for what.

--
Gina Whipp

"I feel I have been denied critical, need to know, information!" - Tremors
II

http://www.regina-whipp.com/index_files/TipList.htm
 
B

BruceM via AccessMonster.com

Typically there would be a Student table to list Student information, a
Course table for information about courses, and a junction table. The
junction table is because one student can take many (i.e. more than one)
course, and one course can be attended by many students.

tblStudent
StudentID (primary key, or PK)
FirstName
LastName
etc.

tblCourse
CourseID (PK)
CourseDescription
etc.

tblEnrollment
StudentCourseID (PK)
StudentID (link to tblStudent)
CourseID (link to tblCourse)
StartDate (or semester)
Other fields relevant to a specific student taking a specific course

There would be a main form based on tblStudent, with a subform based on
tblEnrollment. The Link Child and Link Master properites of the subform
control are set to StudentID. A combo box that gets its row source from
tblCourse is bound to CourseID on the subform.

You would have a separate Course form for populating and updating the Course
table. Or you could do it the other way around, with the Course form as the
main form with an Enrollment subform on which Students are selected, but that
seems an unlikely way to approach it in this case.

An advantage of this system is that you can easily devise queries, forms, and
reports to show either the courses a student is taking, or the students
taking a course.

This is a very quick description of the structure, but maybe it will get you
started.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top