procedure myobj.timer if file found *unzip the file *process the file to main database files else *display that the application is idle endif if exit * break out of loop and end program endif doevent &&<------ I am not shure what are you trying to do here endprocPs: dont forget to set the proper interval to the TIMER OBJECT