Your CLOSEWINDOW is in the right place. CLOSEWINDOW will not work if other code is still running.
Did you RSTYLE the code? Dennis McGrath Software Developer QMI Security Solutions 1661 Glenlake Ave Itasca IL 60143 630-980-8461 [email protected] -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jim Belisle Sent: Tuesday, April 09, 2013 7:19 AM To: RBASE-L Mailing List Subject: [RBASE-L] - CLOSEWINDOW I have a form that does not always close after some reports have printed. These reports print within a WHILE LOOP. At the present time, the CLOSEWINDOW is the last line before the RETURN. If I put this command before my DROP TEMP commands will all those commands still work? In other words, will all the code after the CLOSEWINDOW command still fire all the way to the RETURN? These reports do eventually print but the users have to hit another button to clear the form. I just want the CLOSEWINDOW command to work all the time. James Belisle Making Information Systems People Friendly Since 1990

