How can i print many copies from the same page?

edited 1:33PM in FastReport 3.0

Hi friends!

I have a report (FR3) with 4 pages, and i would like to print the page 1, for example, three times. How can i do this (programming inside the report in the Area Code, and not in Delphi IDE ) ?

Thanks!

Comments

  • edited 1:33PM
    Hi!

    You have 4 pages in the preview or in the designer?
  • edited 1:33PM
    I have 4 pages in designer (tfrxReportPage), and i wanna print these 4 pages, but the page ONE i wanna print 3 times, for example.

    Then will be print the sequence of pages: 1 1 1 2 3 4

    Understand me??

    Thanks for help!
  • edited October 2005
    Try this code:
    procedure Page1OnManualBuild(Sender: TfrxComponent);
    var
    i:integer;
    DataSet: TfrxDataSet;
    begin
    DataSet := MasterData1.DataSet;
    for i:=1 to 3 do {count of 1-st pages}
    begin
    DataSet.First;
    while not DataSet.Eof do
    begin
    Engine.ShowBand(MasterData1);
    DataSet.Next;
    end;
    if i<3 then Engine.NewPage;{if not last then create new}
    end;
    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.