Re: After School Attendance
- From: Michael Gramelspacher <gramelsp@xxxxxxxx>
- Date: Wed, 09 Jul 2008 17:21:19 -0500
On Wed, 9 Jul 2008 13:38:32 -0700, joestros <joestros@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Thank you for the quick reply Michael. I'm a little confused as to what you
meant by this:
StudentAttendance
student_num
school_num
calendar_date
attendance_code
PRIMARY KEY (student_num,school_num,calendar_date)
Does this mean StudentAttendance is a junction table? Are student_num,
school_num, calendar_num, all primary keys from their respective tables? Is
attendance_code a field in the junction table?
I understand there will be 800 attendance records per day. What I am trying
to avoid is having to click on 800 students records each day, click to fill
in an attendance date, and then click again to mark absent (that would be
2400 mouse clicks per day)! We currently use an expensive database service
that allows us to choose a date and it brings up a list of students with
radio buttons that default to present, and we go through and mark the absent
students. I understand radio buttons are probably not the way to go, but is
there a way to create a form from these tables that will allow a list of
students to display with the attendance_code selector next to each one? And
after selecting the value it would update their attendance record?
Thank you again for your help.
-Joe
StudentAttendance would be a juntion table. I am a bit confused. It seems like
you are saying that you keep attendance with another applicaion which generates
an attendance roster every day. You then just have to change the presents to
absences for those few students who are absent. That how it would also work
with Access. Why do you need the second Access program? Maybe the roster you
are describing is just for the normal school day. It that it?
.
"Michael Gramelspacher" wrote:
On Wed, 9 Jul 2008 12:22:00 -0700, joestros <joestros@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Hello,
I am attempting to create a database that will track student daily student
attendance at 11 different after school sites. My database needs to perform
the following functions:
Allow me to input daily student attendance for about 800 students. I would
ideally like a form with the students listed in alphabetical order by site
with a drop down yes/no, radio buttons, check box or something that will make
it easy to enter Present/Absent for that many students. I am envisoning a
form for a single date where I can filter student names by shcool site (I
will be receiving sign in sheets from each site, so breaking them up by site
will be the most logical way to enter attendance).
Compile attendance data by school site, and by student. So, the form above
needs to be able to calculate attendance data. Data such as average daily
attendance by site, total attendance program-wide, total attendance per site,
attendance per student, etc. I am pretty sure I can figure this out when the
time comes to create it, but I want to make sure my initial table design
allows for it.
From what I have read so far I am going to need a many-to-many relationship
between my tables. I am thinking I need:
StudentTable
ScheduleDatesTable
SchoolTable
and some sort of junction table that brings all of this together?
I have tried this numerous times but am getting stumped after creating them
all. I go to build a query and it won't display anything. What I need to
know is what do you recommend as far as table design, and what is the next
step in order to actually begin inputting attendance data from the tables? I
know I will need to build some sort of form based on something, a query? the
juntion table? I am not sure after building the tables. Also, I am confused
as to what keys need to be in the junction table? Do you set them as primary
keys, or foreign keys? Can a date/time field be used as a foreign key?
Thank you for taking the time to read my question, and I hope someone can
help.
-Joe
First off you should realize that you will have 800 attendance records for each
school day. Each day you will need to generate an attendance record for each of
the 800 students, probably with a default value of present. Then it is just a
matter of the teacher at each school pulling up her roster and changing the
present to absent for her missing stuents.
StudentAttendance
student_num
school_num
calendar_date
attendance_code
PRIMARY KEY (student_num,school_num,calendar_date)
You probably need a calendar table with every school day date.
- Follow-Ups:
- Re: After School Attendance
- From: joestros
- Re: After School Attendance
- References:
- Re: After School Attendance
- From: Michael Gramelspacher
- Re: After School Attendance
- From: joestros
- Re: After School Attendance
- Prev by Date: Re: Design question - tables with scores
- Next by Date: Little stevie is still hawking snake oil
- Previous by thread: Re: After School Attendance
- Next by thread: Re: After School Attendance
- Index(es):