Hi Drew,

> The work around:
> 
> If the report is this old style then the program
> 1) Opens it to the desktop.
> 2) Save it as a temp file.
> 3) Set a listener on the report window
> 4) Immediately then closes the odb file.
> 5) When the user closes the report window, delete the temp file.
> 
> I was wondering if anyone can think of a better way to handle this?

My idea would also have been a listener - but one directly at the report
documents. Just add a CloseListener to every report you open, and when
the last report closed, then also close the document.

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Base                       http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to