>>Can you post how you call preview form?
>>Did you issue something like:
>>oxx = NULL
>>DO (_REPORTOUTPUT) WITH oxx
>>....
>
>Nope. I just tried your code as it was written in the message I replied to. Originally we have REPORT FORM myReport PREVIEW. I changed it to use custom window, but the problem persists (and I would be surprised it would not). So, I guess, I just have to treat Report Preview as the indication I can not return to debug mode, but rather close the whole application (quit). At least that was my latest idea, as I just sent a message to Dan (cc-ed you).
>
>Or we may change the way we're calling preview for our reports. What would you recommend to use?
>
>Thanks.
I asked this, becuase I have a BIG problem with it. That way a new public variable _oreportoutput i screated and never released. I have a problem becuase this caused following:
All tables in Form Private DataSession that are opened outside the DE are not closed after forms release, but all tables that are in DE are closed perfectly :o).
I don't know what to sugest because I am not familiar with MM Framework. I have no problem at all with closeg the application when the preview is opened. What about looping through _SCREEN.Forms collection and try to close opened forms?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.