P
Patrick
I would like some help with table design and relationships for a
database that records student attendance on a class by class basis.
What I would like to do is store attendance information for students
in my classes. I would like to be able to do this with a form which
displays the students names in a list for a particular class and a
checkbox for present/absent.
What is the best structure for the tables and what should the
relationships be and how can I make a checkbox input date information
into a particular record field?
I can create a form which calls up a particular class list in a
subform in datasheet view by using a combo box but I am stumped on the
checkbox bit and I am not sure what tables and relationships I should
have to record and store the attendance data.
My current design is:
tbl_Students
------------------
Admission No (Primary Key)
Name
Forename
Class
------------------
tbl_Attendance
------------------
Attendance No (AutoNumber Primary Key)
Admission No (Foreign Key)
Date
------------------
I am sure I have got this wrong because the second table would end up
being huge but how best to store the data?
I would be grateful for any suggestions/pointers.
Patrick
database that records student attendance on a class by class basis.
What I would like to do is store attendance information for students
in my classes. I would like to be able to do this with a form which
displays the students names in a list for a particular class and a
checkbox for present/absent.
What is the best structure for the tables and what should the
relationships be and how can I make a checkbox input date information
into a particular record field?
I can create a form which calls up a particular class list in a
subform in datasheet view by using a combo box but I am stumped on the
checkbox bit and I am not sure what tables and relationships I should
have to record and store the attendance data.
My current design is:
tbl_Students
------------------
Admission No (Primary Key)
Name
Forename
Class
------------------
tbl_Attendance
------------------
Attendance No (AutoNumber Primary Key)
Admission No (Foreign Key)
Date
------------------
I am sure I have got this wrong because the second table would end up
being huge but how best to store the data?
I would be grateful for any suggestions/pointers.
Patrick