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

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

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.