some record twice per page

edited 11:35AM in FastReport 4.0
Hello, can FR4 print the same record twice in the same page, maybe a way to go to the previous record? I'm stuck with this [img]style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> Thanks in advance[/img]

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 11:35AM
    yes it can print any nuber of times you want.
    Don't connect the databand to a dataset.
    set it's row count property instead and write code to control the movement of the dataset.
    you may need to use a variable to track where you are.
    write code in events to move the dataset and reset vars etc.

    var
    i, count: Integer;
    ds: TfrxDataSet;

    begin
    ds := Report.GetDataset('frxDBDataSet1');// get at start
    end.

  • edited 11:35AM
    Thanks for your answer. It was not what I was looking for, I have an application for generic reports, I don't whant to change it, I'll try to do it in other way if i can.
    Thanks again

    Juan
    gordk wrote: »
    yes it can print any nuber of times you want.
    Don't connect the databand to a dataset.
    set it's row count property instead and write code to control the movement of the dataset.
    you may need to use a variable to track where you are.
    write code in events to move the dataset and reset vars etc.

    var
    i, count: Integer;
    ds: TfrxDataSet;

    begin
    ds := Report.GetDataset('frxDBDataSet1');// get at start
    end.

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.