Waiting for report to stop printing after TppReport.Cancel
I'v talked about this problem before on this group, but still havent found
a solution (or found what i am doing wrong) ...
I have my own preview form, a nonmodal form with a TppPreview component on
it.
When the user closes this form i give a ppViewer.Cancel command and then
the form (including viewer, datamodule, ppreport, engine, etc) are freed.
And that an access violation occurs somewhere in the generating code of Reportbuilder!
as I said earlier, it looks like im freeing the report-components too soon.
How and on what status should i wait before freeing the report-componenets
after Cancelling the generation of the report?
gr
Bas
a solution (or found what i am doing wrong) ...
I have my own preview form, a nonmodal form with a TppPreview component on
it.
When the user closes this form i give a ppViewer.Cancel command and then
the form (including viewer, datamodule, ppreport, engine, etc) are freed.
And that an access violation occurs somewhere in the generating code of Reportbuilder!
as I said earlier, it looks like im freeing the report-components too soon.
How and on what status should i wait before freeing the report-componenets
after Cancelling the generation of the report?
gr
Bas
This discussion has been closed.