How to hide pages ?
I have a report with 3 pages (tfrPage) : page1,page2,page3.
I have a variable (bPage2) wich is used to make the page 2 visible or not.
How to really make this page not visible : we have not any propertie 'visible' or 'enable' on the tfrPage.
I tried to make the bands not visible and it works but i have a blank page.
Any idea ?
I have a variable (bPage2) wich is used to make the page 2 visible or not.
How to really make this page not visible : we have not any propertie 'visible' or 'enable' on the tfrPage.
I tried to make the bands not visible and it works but i have a blank page.
Any idea ?
Comments
Form2:= TForm2.Create(nil); //Form2 is the Form with the frReport
with Form2 do begin
try
frReport1.Pages[0].Visible := False;
frReport1.ShowReport;
finally
Release;
end;
end;