Larry, It was just as Dawn and Javier explained it. I added the Y/N flag and all is well :) Thanks :)
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Lawrence Lustig Sent: Wednesday, February 09, 2005 3:06 PM To: RBG7-L Mailing List Subject: [RBG7-L] - Re: closewindow problem > It works reliably, it saves all the data and returns to the underlying > application. This is only surmise: R:Base defers execution of the CLOSEWINDOW statement until the end of the EEP (try putting CLOSEWINDOW; PAUSE; RETURN in an EEP, you will see the PAUSE). If you open and close another form between the time you invoke CLOSEWINDOW and the time it should be executed, R:Base has probably reset the flag telling it to close the current window -- and even if it hasn't, it can see the current window (the ENTER USING) is closed anyway. Try ENTER USING CLOSEWINDOW RETURN and see if that works. -- Larry
