harry~ wrote: I built this software for a collage, if you know how to solve this problem ,please tell me . Well, in general, one idea is to make an array of time slots. Let's say the events are every 15 minutes. So you have an array for each each person that, when they sign up for an event, fills in however long each event takes, starting at the appropriate 15 minute indexed interval. Then, when they sign up for another event, check the array to see if there's a time overlap. You probably also need to take into account the time it takes to leave one event and get to another, so you can't have someone sign up for an event that ends at 1:30 and another that starts at 1:30, because they can't get to the next event in time! Marc MyXaml Advanced Unit Testing YAPO