I'm working on an access 2007 data base to track suspensions in a high school.
I need to calculate how long a student will be exlcuded from school activities depending upon the date they return from suspension and the type of suspension they were on.
I have a field for their return date and a field for the type of suspension - In-School, Short or Long. If a student was on In-School then they are excluded for 3 weeks from their return date.
If they were on a short suspension then they are excluded for 5 weeks from their return date. If they were on a long suspension then they are excluded for 10 weeks. These time periods should also ignore weekends so it would be 15, 25 and 50 school days respectively.
I was thinking of putting the code behind a command button that says "Calculate Exclusion Date".
Thanks in advance.
I need to calculate how long a student will be exlcuded from school activities depending upon the date they return from suspension and the type of suspension they were on.
I have a field for their return date and a field for the type of suspension - In-School, Short or Long. If a student was on In-School then they are excluded for 3 weeks from their return date.
If they were on a short suspension then they are excluded for 5 weeks from their return date. If they were on a long suspension then they are excluded for 10 weeks. These time periods should also ignore weekends so it would be 15, 25 and 50 school days respectively.
I was thinking of putting the code behind a command button that says "Calculate Exclusion Date".
Thanks in advance.
Comment