>KEYBOARD {ESC}
>
>IF WEXIST('Report Designer') RELEASE WINDOWS 'Report Designer' && try to close report preview window ENDIFin the application CleanUp procedure, but it doesn't seem to be working, because I'm having some problems with the rest of the cleanup code. I'll give your idea a try, thanks a lot.