Export to excel: IncludeSingleFooter and IncludeSingleHeader
Hello,
I export some reports to excel. When I have two or more pages I want that
the header is exported ones.
I tought that includeSingleHeader did the job but it doesn't.
Now to fix the problem I've set some code in the HeaderBeforePrint
[Code]
procedure HeaderBeforePrint;
begin
Header.Visible:= not((Report.DeviceType='XLSReport')and
(Report.PageNo>1));
end;
[/Code]
Ide XE6
ReportBuilder 15.05 build 145
Windows7
I export some reports to excel. When I have two or more pages I want that
the header is exported ones.
I tought that includeSingleHeader did the job but it doesn't.
Now to fix the problem I've set some code in the HeaderBeforePrint
[Code]
procedure HeaderBeforePrint;
begin
Header.Visible:= not((Report.DeviceType='XLSReport')and
(Report.PageNo>1));
end;
[/Code]
Ide XE6
ReportBuilder 15.05 build 145
Windows7
This discussion has been closed.
Comments
In RB 15, XLSettings.IncludeSingleHeader is designed to work for XLSData
export. That was the original intent of the feature - see the help topic for
the property.
For RB 16, IncludeSingleHeader is being added for XLSReport, based on
developer requests.
Best regards,
-
Nard Moseley
Digital Metaphors
www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com