How can i do this?

You know haw the statrep.nsf db only creates on instance of an alarm and keeps incrementing the repeat field by 1?I have an app that is used for attendance reports and would like to do the same thing so i can send emails to supervisor if the repeat instance field gets above a threshold. I looked the design of statrep and really couldn’t see how this was being accomplished. any help is much appreciated.