master/detail/subdetail

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 4:53PM
    FR 3.03 process only first master record. Back to FR 3.02. It works good.
  • edited 4:53PM
    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 4:53PM
    i try with fr3.02 and doesn't run anymore :-(

    Wait for 3.04 .....
  • edited 4:53PM
    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 4:53PM
    I have send bug report to Alex and wait for 3.04 too.
  • edited 4:53PM
    Looks like they attempted to fix in fr3.04. Now I get an access violation on the second subdetail record.
  • edited 4:53PM
    If you have a demo (that I can compile and test), you can send it to tz@fast-report.com

Leave a Comment