240 times repeat

adeheeradeheer The Netherlands
edited 1:31PM in FastReport 4.0
Hi,

I've got a record set of 18 from 6 different customers. The layout is for invoice's
When I do a preview it's counting 1440 pages. After the first 6 its's repeating itself 240 times.

What do I mis here??

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 1:31PM
    sincw you did not post your .fr3 file can't say for sure but
    you probably have the tfrxreport component connected to a data set
  • adeheeradeheer The Netherlands
    edited 1:31PM
    It's connected to a frxDBDataset. Is that wrong?
  • gordkgordk St.Catherines On. Canada.
    edited 1:31PM
    it could be it depends upon the type of report you ate ctrating
    a multi design page report you connect the report componrnt to a data set to tell it the number of times to run
    in most others you connect the dataset to a masterdata band, detail, and so on.
    look at the reports in the main demo yo see how they are connected to data
  • adeheeradeheer The Netherlands
    edited 1:31PM
    TfrxReport.Dataset := Nil; did the trick.

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.