Hi and good evening / good morning (depending on your location on this planet)
Despite my limited - o.k, non-existing - knowledge of vba, I'd like to design a database to help with the admin of school outings. I pretty much know my way around MS access, but may well need vba for this thing here, so if you have any hints and tips for me, I'd be most grateful.
The outline of the day-out is as follows:
There is a pool of activities (currently 9 different ones) from which students select one activity for the morning session and one activity for the afternoon session.
All 9 activities take place in the morning AND in the afternoon.
However, one of these 9 activities is an all-day-session, in other words if you choose this activity for the morning, you must choose it for the afternoon also.
Some activities can be held in groups of 20, others can only be run in groups of 10 (Abseiling, for example, for safety reasons)
Each student makes his/her choice of activity on a paper form.Each student is allowed a 1st choice and a 2nd choice for the morning session and then a 1st choice and a 2nd choice for the afternoon session, unless, of course, they choose the all-day-activity.
I then get these paper forms and have to come up with 9 'morning-activity-lists, showing each individual activity and its students as well as 9 'afternoon-activity-lists', again showing each of the 9 activities and its respective students as well as 1 'all-day-list' showing which students have chosen the 'all-day-activity'. Whether a student gets his 1st choice or not is determined by a simple 'first come, first served' system.
The paper forms, which students submit and on which they have made their choices are, of course, student-centred, each student submits his/her form with only his/her choices.
When recording student choices on my access-form, I'd like to be able to see how many students are already doing a certain activity and how many more students are allowed to join this activity before the group is full. Once the group is full, students are put into another activity, where there is still room. If possible, I'd like to avoid having to first record all students' choices and afterwards find out that there are too many students in one group and then having to find space for them in groups where there is still room.
The question is therefore: how do I best record student-centered information in an activity-centered way???
So far, I have:
tbl_students (studentID, Name, SName etc)
tbl_activities (activityID; activiyName, groupMax)
tbl_session (session_ID, SessionName, activityID)
To hold the activity choices of each student, I'm thinking of a third table, something like tblStudent_Acti vities with the link-fields Student_Id and Session_ID so I can then base a form on this third table, and match up each student with his/her 2 activities.
It's with the design of this form that I'm struggling a little.
Any hints, tips or ideas?
Thanks for taking the time to read this.
Despite my limited - o.k, non-existing - knowledge of vba, I'd like to design a database to help with the admin of school outings. I pretty much know my way around MS access, but may well need vba for this thing here, so if you have any hints and tips for me, I'd be most grateful.
The outline of the day-out is as follows:
There is a pool of activities (currently 9 different ones) from which students select one activity for the morning session and one activity for the afternoon session.
All 9 activities take place in the morning AND in the afternoon.
However, one of these 9 activities is an all-day-session, in other words if you choose this activity for the morning, you must choose it for the afternoon also.
Some activities can be held in groups of 20, others can only be run in groups of 10 (Abseiling, for example, for safety reasons)
Each student makes his/her choice of activity on a paper form.Each student is allowed a 1st choice and a 2nd choice for the morning session and then a 1st choice and a 2nd choice for the afternoon session, unless, of course, they choose the all-day-activity.
I then get these paper forms and have to come up with 9 'morning-activity-lists, showing each individual activity and its students as well as 9 'afternoon-activity-lists', again showing each of the 9 activities and its respective students as well as 1 'all-day-list' showing which students have chosen the 'all-day-activity'. Whether a student gets his 1st choice or not is determined by a simple 'first come, first served' system.
The paper forms, which students submit and on which they have made their choices are, of course, student-centred, each student submits his/her form with only his/her choices.
When recording student choices on my access-form, I'd like to be able to see how many students are already doing a certain activity and how many more students are allowed to join this activity before the group is full. Once the group is full, students are put into another activity, where there is still room. If possible, I'd like to avoid having to first record all students' choices and afterwards find out that there are too many students in one group and then having to find space for them in groups where there is still room.
The question is therefore: how do I best record student-centered information in an activity-centered way???
So far, I have:
tbl_students (studentID, Name, SName etc)
tbl_activities (activityID; activiyName, groupMax)
tbl_session (session_ID, SessionName, activityID)
To hold the activity choices of each student, I'm thinking of a third table, something like tblStudent_Acti vities with the link-fields Student_Id and Session_ID so I can then base a form on this third table, and match up each student with his/her 2 activities.
It's with the design of this form that I'm struggling a little.
Any hints, tips or ideas?
Thanks for taking the time to read this.
Comment