Assumptions:
1. You only count complete days.
2. You use a date range.
3. You store a record of when previous actions were taken.
It would be ever so helpful if you would post the actual school policy rather than us having to guess what it might be. This seems way harder than it needs to be.
1. You only count complete days.
No, each tardy stands on its own. Each tardy is a counted as a separate entry from the SIS. A student can receive several tardies on any given day. See my database example and you will see how tardies are pulled from the SIS (Student Information System)
2. You use a date range.
I don't have to use a date range. When I pull the data from the SIS, the date range is already taken care of. I query the SIS and my query (separate query language used to pull date from the SIS) is written so that it takes all tardies from the first day of school up to the current day.
3. You store a record of when previous actions were taken.
Previous disciplinary actions don't matter, I have to track when they reach each threshold level. I haven't been charged with doing anything with tracking whether or not students comply with the disciplinary actions. HOWEVER, that may be something to explore based on these great posts.
The school uses this data to assign disciplinary action, which has to be entered into another system. Disciplinary actions can get serious, so it has to be entered in the SIS. I'm just giving them the tool to identify these students.
It would be ever so helpful if you would post the actual school policy rather than us having to guess what it might be. This seems way harder than it needs to be.[/QUOTE]
I agree, I was just trying to answer all the question posted to me.
The policy is....at each threshold, 7, 9, 11, 13, 15, students receive a specific disciplinary action based on the threshold they've reached. After a certain level (probably 17), the detentions, suspensions, etc. end and they have to report directly to an Administrator, it gets serious then.
I haven't been charged with a procedure to track the student's discipline action or if the student actually complied..... that may come though and I would like to come back here for help. Some posts have already explored possible scenarios.