Hi there,
I really need a bit of advice on design. I have faced this problem in various Databases and although I have always made a “workaround” – I’m sure there must be better ways. Although I have no immediate problem I have to get this right in the future. I hope someone has a bit of time to answer!
This is the general problem:
Part of my DB is an “Attendance Register – direct to Accounting”
I have a table with possible Attendence codes (A=Absent; P=Present, E=Excused etc..)
I have a table of Students.
I want to be able to capture the Data for one month in a cross tab form with the Student name in a row and the days of the month as columns.
I’m sure the right way is to have multiple records with Student ID, Date and Attendence Code in an AttendenceTBL but then it’s not possible to create kind of input form I need (?).
Another way is to have a record for each Month with 31 Fields (Days). This way it’s easy to create the form but difficult to extract the Data in the way I need it for accounting purposes.
(P Pays full fee, Absent without being excused 75%, Excused 50 %)
e.g. In one month a student could pay 15 * Full fee + 10 * 75% + 2 * 50%
I would really appreciate it someone could point me in the right direction!
Thanks
Marion
I really need a bit of advice on design. I have faced this problem in various Databases and although I have always made a “workaround” – I’m sure there must be better ways. Although I have no immediate problem I have to get this right in the future. I hope someone has a bit of time to answer!
This is the general problem:
Part of my DB is an “Attendance Register – direct to Accounting”
I have a table with possible Attendence codes (A=Absent; P=Present, E=Excused etc..)
I have a table of Students.
I want to be able to capture the Data for one month in a cross tab form with the Student name in a row and the days of the month as columns.
I’m sure the right way is to have multiple records with Student ID, Date and Attendence Code in an AttendenceTBL but then it’s not possible to create kind of input form I need (?).
Another way is to have a record for each Month with 31 Fields (Days). This way it’s easy to create the form but difficult to extract the Data in the way I need it for accounting purposes.
(P Pays full fee, Absent without being excused 75%, Excused 50 %)
e.g. In one month a student could pay 15 * Full fee + 10 * 75% + 2 * 50%
I would really appreciate it someone could point me in the right direction!
Thanks
Marion