Drew Jensen wrote:
Hello list,
I have run into a situation - have devised a work around for it -
could use any suggestions for maybe a better way.
The situation.
Oen a Base file and then run one of these old style reports ( current
Report Wizard reports ) the report will close if you close the Base
file, of course when you close just the report window the Base file is
not also closed.
The current report runner extension the has a major defect. I did not
recognize it until I began working with odb files that are not
registered. For this situation I need to actually perform a
stardesktop.loadComponentFromURL on the odb file, hidden, then execute
the report. Close the hidden odb file when the dialog box closes and
the report closes of course. I realized that for those reports opened
from registered Base files, using the services of the context manager,
exactly the same situation was happening.
If you open one of these reports the Base file is implicitly 'opened
hidden', brought into memory. When you close the report window it does
not remove the Base file from memory.
Which also means then that the soffice.exe process will stay in memory
until one of two things happens:
1) Open the Base file the report came from and then close it.
or
2 )Kill the soffice.exe process explicitly.
FYI -
I completely stopped the distribution of the extension for the moment.
Getting into it today it appears that SRB reports cause the same problem
also, just not as much memory is allocated and never released - or at
least so it seems..( It may very well be something I am doing, or not
doing )
TO BE CLEAR - there is *no* problem running either type of report from
the Base window, it is only if one launches the reports using a Basic
script where the ODB file is not explicitly opened first.
Hopefully I will get a fixed version up over the weekend...
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]