DBRichText to XLSData
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
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
This discussion has been closed.
Comments
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.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Hi Nico,
how can I tell if I have chosen XLSData ?
Inside the RAP ?
Best Regards
Use the OnFileDeviceCreate event.
procedure ReportOnFileDeviceCreate;
begin
if Report.FileDevice is TppXLSDataDevice then
ShowMessage('XLS Device');
end;
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Hi Nico,
That work great!
Best Regards,
Mauro Catellani