Home General

OnNoData event...

edited July 2001 in General
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

Comments

  • edited July 2001
    We've just fixed NoDataBehaviors yesterday. For other fixes we've had in the
    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


  • edited July 2001
    Hi Jim...

    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




  • edited July 2001
    Somehow this fix didn't get built into the release. We'll build a new
    version and notify everyone to download the latest when it is ready.

    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited July 2001
    I've sent you the correct engine pas file via email. You'll need to include
    this in your project instead of using the ppEngine.dcu that is located in
    ../RBuilder/Lib/


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.