AV in rbRAP76.bpl
After running several times in a row a report consisting of several
dynamically loaded subreports I get an AV either in rbRAP76.bpl or
rtl60.bpl. The AV occurs in a call like the following
Report.Template.New
I use bpls which have passthrough RAP functions but I do not unload the
bpls.
It is random and I cannot reproduce it in a simple application.
Any ideas will be very much welcomed.
Thanks
Yannis
dynamically loaded subreports I get an AV either in rbRAP76.bpl or
rtl60.bpl. The AV occurs in a call like the following
Report.Template.New
I use bpls which have passthrough RAP functions but I do not unload the
bpls.
It is random and I cannot reproduce it in a simple application.
Any ideas will be very much welcomed.
Thanks
Yannis
This discussion has been closed.
Comments
What event are you using to load the subreports? I do not recommend that you
dynamically load subreports while the report is generating.
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
I do not know exactly how and when RB loads a report and its dynamically
loaded subreports. In my case some dynamically loaded subreports contain
other dynamically loaded subreports and so on.
There is a thread in the subreports newsgroup started by another customer,
Charlie Rhoades, dated June 3, 2004. He had an issue with the code from that
demo. At the end of the thread, he posts a modification that fixed the
problem. I tested it here and it worked well. Perhaps try performing the
same modification. (See the added FSubReportLoaded: Boolean code).
--
Nard Moseley
Digital Metaphors Corporation
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com