Home Devices

Text File Output Without Quotes

edited March 2013 in Devices
Is it possible to remove the quotes from a textfile export in RAP?

There was an old post using TextFileDevice.QuoteChar := '' but I can't
seem to make that work either.

A code sample or demo would be great.

Thanks. ReportBuilder 12 Delphi 2007 Oracle 11g

Comments

  • edited March 2013
    Hi Jon,

    Access to the file devices' published properties is available from RAP.
    Something like the following inside the OnFileDeviceCreate event.

    var
    lTextFileDevice: TppTextFileDevice;
    begin

    if Report.FileDevice is TppTextFileDevice then
    begin
    lTextFileDevice := TppTextFileDevice(Report.FileDevice);
    lTextFileDevice.QuoteChar := '';
    end;

    end;

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.