master/detail/subdetail

edited 10:46AM in FastReport 3.0
i want do a 3 level report using dbxQuery

but i recive this message of error

Cannot perform this operation on a close dataset

it seems happened after I?° master record

Why???

Comments

  • edited 10:46AM
    FR 3.03 process only first master record. Back to FR 3.02. It works good.
  • edited 10:46AM
    wrote:
    FR 3.03 process only first master record. Back to FR 3.02. It works good.

    Or i better wait for FR 3.04????

    Ettore
  • edited 10:46AM
    i try with fr3.02 and doesn't run anymore :-(

    Wait for 3.04 .....
  • edited 10:46AM
    as a workaround, you can create an onbeforeprint prodedure for the detail band that does the following (set subdetail dataset to inactive, set the params individually to values, and reactivate). Note that you also need to set the master property of the subdetail dataset to nothing.

    subdetaildataset.active := False;
    subdetaildataset.params[0].value := ....

    subdetaildataset.active := True;
  • edited 10:46AM
    I have send bug report to Alex and wait for 3.04 too.
  • edited 10:46AM
    Looks like they attempted to fix in fr3.04. Now I get an access violation on the second subdetail record.
  • edited 10:46AM
    If you have a demo (that I can compile and test), you can send it to tz@fast-report.com

Leave a Comment