FastReport Print always the same data set - Why?

Hello,
i want to produce a mass letter with Fast Report and C++ Builder. For this, i create my Report and connect this form with my db. In the DB i have four data sets. On my C++ Builder i have a button and when i click the button then the form will be printet. This is ok. I get four prints. But, on the prints it is everytime the same data set.

When i click the Button, that starts a loop in this i print the Report and after the print i go to the next data set in my db.

What can i do that the Report go also to the next data set?

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 1:16PM
    i am not sure of what you are trying to explain here.
    take a look at the main demo add in objects richtext.
    the data is controlled by the connection of the data set to the masterdataband.
    or if you just have text objects on a design page connect the tfrxreport component to a userdataset
    and write code in delphi for the events of the dataset to control the record position.
  • edited 1:16PM
    I found my mistake.

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.