PageEndless at Runtime
I try to set PageEndless propety at Runtime.
But, when I show prepared report, there are margins between pages. I don't want them.
But, when I set the property in designer I get one long page.
Why?
Report := TfrxReport(frxHistory);
Report.LoadFromFile(file);
Report.OnMouseOverObject := nil;
Report.Preview := frxPreview1;
Page:=TfrxReportPage(Report.FindObject(Report.Pages[0].Name));
Page.EndlessHeight:= True;
  if Report.PrepareReport then
    Report.ShowPreparedReport;
But, when I show prepared report, there are margins between pages. I don't want them.
But, when I set the property in designer I get one long page.
Why?
Comments
Report.Pages[0].Name it is a 'Data' instead 'Page1'
Correct form is Report.Pages[1].Name