Each row in master band is printed on a new page

edited January 2015 in FastReport 4.0
Each row in master band is printed on a new page instead of normal row-after-row on one page.
If I set RowCount to 0, just empty pages printed.
If I set RowCount to N, than each row duplicated N times, and new page started after that.
StartNewPage is false on the band.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 2:50PM
    sound like you have not connected the mdband to the dataset
    but have the dataset connected to the tfrxreport component itself.
  • edited 2:50PM
    gordk wrote: »
    sound like you have not connected the mdband to the dataset
    but have the dataset connected to the tfrxreport component itself.
    When I connect Dataset to Master Band, I am getting this error:
    Cannot use the same dataset for Report.DataSet and Band.DataSet

    If I deselect Dataset on Report, I cannot select it for Master Databand at all.

  • edited 2:50PM
    gordk wrote: »
    sound like you have not connected the mdband to the dataset
    but have the dataset connected to the tfrxreport component itself.
    I do have connected DataSet to frxReportComponent.
    And it works ok.
    Do I have to define KeyFields / IndexFields anyhting else on dataset ?
  • gordkgordk St.Catherines On. Canada.
    edited 2:50PM
    the connection of a dataset to the tfrx component is for use with multi page report design
    it is used to tell the report the number of times to run.
    it cannot be used to connect to the report design page master databand.
    the dataset connected to the masterdataband must be a separate dataset.
    What type of report are you trying to create.
  • edited 2:50PM
    gordk wrote: »
    the connection of a dataset to the tfrx component is for use with multi page report design
    it is used to tell the report the number of times to run.
    it cannot be used to connect to the report design page master databand.
    the dataset connected to the masterdataband must be a separate dataset.
    What type of report are you trying to create.
    Vow!
    Magic!
    As soon as I removed DataSet from frxComponent in Visual C++ - report came out nicely.
    Thanks a lot!

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.