Change property Start New Page

Hi
I want change propery start in new page with writing in scrip.How can I do? Thanks.

Comments

  • gordkgordk St.Catherines On. Canada.
    edited 12:20AM
    typical example would be groupheader2.startnewpage:=true:
    where you do it (in which event) depends upon what you are trying to acheive.
    in some case you may be checking the recordcount of a dataset and if greater than a certain value
    you would just call engine.newpage.
  • edited 12:20AM
    Tanks
    I want do like this:

    procedure GroupHeader1OnBeforePrint(Sender: TfrxComponent);
    begin
    if form1.chbox1.Checked =True then engine.NewPage;
    end;


    but this is wrong.Why?
  • edited 12:20AM
    set states before preparing or showing the report.

Leave a Comment