OnNoData event...
Hi everyone...
I just updated from RB 5.56 to 6.0 for Delphi 4 and now I have a serious
problem regarding the OnNoData event. I haven't had the time yet to
investigate what exactly happens, but the outcome is, that if the report has
data, it traverses through it (printing to screen and jumping to last page)
and then replaces everything with the "No Data" Label on the page. If there
is actually no data, RB runs in circles and gets stuck on page 0 (it never
increases the page count). Help?!?
-------------------------------------------------------------------
Marco Heine
QUMAS
Enterprise Compliance Management
Visit our Website: www.qumas.com
I just updated from RB 5.56 to 6.0 for Delphi 4 and now I have a serious
problem regarding the OnNoData event. I haven't had the time yet to
investigate what exactly happens, but the outcome is, that if the report has
data, it traverses through it (printing to screen and jumping to last page)
and then replaces everything with the "No Data" Label on the page. If there
is actually no data, RB runs in circles and gets stuck on page 0 (it never
increases the page count). Help?!?
-------------------------------------------------------------------
Marco Heine
QUMAS
Enterprise Compliance Management
Visit our Website: www.qumas.com
This discussion has been closed.
Comments
past few days, we've uploaded a new version of RB6. Download RB6 for D4
again. The link and password should be the same as before.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
I just finished downloading RB again and 50% is resolved. That means,
reports are now created correctly when data is present (no longer showing
the no data message), but it is still running in circles when no data is
present.
It appears that the GenerateComplete or StopPrinting variable in
TppEngine.Generate is never set when there is no data. I use a custom
dataset, so it might behave differently from the "normal" ones. Is there
anything that changed between 5.56 and 6.0 regarding how it detects
that there is no data?
Cheers, Marco...
-------------------------------------------------------------------
Marco Heine
QUMAS
Enterprise Compliance Management
Visit our Website: www.qumas.com
version and notify everyone to download the latest when it is ready.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
this in your project instead of using the ppEngine.dcu that is located in
../RBuilder/Lib/
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com