Assuming we're talking about a report preview window, and you don't use your own window to preview in, this code was suggested to me:
IF WEXIST("Report Designer")
Hide Window "Report Designer"
ENDIF
Rick
>Hi
>I've written a short program into a timer event that enables me to interrupt program usage by users. However, if I try to execute it while a report is open, the program will not quit. Is there a way to close a report from a form? or program?