<< I could not find the command to abort the form close eep. Does anybody know the command?? >>
Alas, "close" means close! What you're looking for exists in some other development environments under names like OnCloseQuery and OnCanClose (where you can return FALSE if you don't want to allow the close to happen) but not in R:Base. The alternative is to use R:Base to turn off ALL the normal form closing options. There's a single checkbox to accomplish this in Properties. Then, add your own Close Form button. In code called by that button check all the criteria that need to be satisfied before closing the form. Then, if and only if it's okay to close, issue the CLOSEWINDOW command yourself. -- Larry

