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

RB 15.01 - XLS export properties "IncludeSingle*" are not working

edited November 2013 in Devices
The properties:

XLSSettings.IncludeSingleFooter:=true;
XLSSettings.IncludeSingleHeader:=true;

seems to have no effect when exporting to "XLS Report File", meaning
that headers and footers are still exported in every page of the report.

I'm setting the values before calling Reset and Print method of
TppReport, and I'm using the default previewer.

Any fix for this?

Carlos

Comments

  • edited November 2013
    Carlos,

    XlSSettings IncludeSingleHeader/Footer apply only to XLSData. This is
    working as designed and as noted in the RBuilder help topics for
    XLSSettings.IncludeSingleHeader/Footer . By definition XLSReport exports
    report pages - it tries to duplicate what you would see when generating to
    preview/print/pdf



    Best regards,

    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited December 2013
    Nard, can you update your help file to mention such "restriction" also
    in the topic
    ms-help://embarcadero.rs_xe3/rbuilder/_TppXLSSettings_14_Properties.html
    ??

    This is the topic I had looked before writing to the newsgroup, and it
    doesnt mention that the property is just for XLSData.

    Anyway, it would be nice if this feature works for XLSReport too. Any
    chance of this happening?

    My customers sometimes can't use XLSData, because it is too limited (ie:
    it doesnt work with subreports, etc).

    []s
    Carlos

    Em 27/11/2013 21:25, Nard Moseley (Digital Metaphors) escreveu:
This discussion has been closed.