Home End User
New Blog Posts: Merging Reports - Part 1 and Part 2

Export to excel: IncludeSingleFooter and IncludeSingleHeader

edited October 2014 in End User
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

Comments

  • edited October 2014
    Hi Christophe,

    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
This discussion has been closed.