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

DBRichText to XLSData

edited November 2013 in Devices
Hi everyone!

I need to export a DBRichText field to XLSData.
I use the File | Print To File Setup dialog to specify components to
export, but i don't see a DBRicheTxtComponent.

I work with Delphi 2010 and also
use ReportBuilder 12.05 Enterprise build 251.

Any suggestions ?

Best Regards
Mauro
Catellani

Comments

  • edited November 2013
    Hi Mauro,

    RichText is not supported for XLSData or Text export. You can currently
    use the XLSReport format to export RichText components to XLS.

    Another option may be to place a memo component behind the RichText
    component containing only the visual text of the RichText
    (TppRichText.PlainText). Then you could toggle the memo's visibility if
    the report is exported to XLSData.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2013
    Il 19/11/2013 18:22, Nico Cizik (Digital Metaphors) ha scritto:

    Hi Nico,
    how can I tell if I have chosen XLSData ?
    Inside the RAP ?

    Best Regards
  • edited November 2013
    Hi Mauro,

    Use the OnFileDeviceCreate event.

    procedure ReportOnFileDeviceCreate;
    begin
    if Report.FileDevice is TppXLSDataDevice then
    ShowMessage('XLS Device');

    end;

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited November 2013
    Il 20/11/2013 16:55, Nico Cizik (Digital Metaphors) ha scritto:

    Hi Nico,
    That work great!

    Best Regards,
    Mauro Catellani
This discussion has been closed.