Home General

Access violation if there is no record in the datapipeline

edited August 2001 in General
Hi,

I created a report with a datapipeline linked to a TQuery, and set 5
levels of group using the columns from the TQuery's result set, it
worked fine if TQuery returns a dataset. But if Tquery returns no data
(Tquery.RecordCount = 0) then in the Preview I got a blank page with
page #0, if I click on -> arrow button then I got "Access violation"
error.

Is this a ReportBuilder's bug? I am using RBpro 4.22 with Delphi 4.
Upgrading to any newer version of RB will break one of my more complex
report. So we decided to stay with this version for now(although
another project is using RB 5.0 with Delphi5, upgrading this to RB6.0
will once again break some of my RB5.0-working report. So we have to
restore the RB5.0 version.)

Any help would be appreciated.

-Ellen

Comments

  • edited August 2001
    >I am using RBpro 4.22 with Delphi 4.

    Ouch.

    Difficult to tell :-)

    Is the AV in a RB unit


    I have a large number of reports, some of them fairly compldex, and haven't
    had anything "break" when upgrading. It has actually went very well. It is
    difficult--at best--to support 4.22. I would highly recommend upgrading to
    6.x and getting your reports to work there.

    HTH
    Ed Dressel
    Team DM
This discussion has been closed.