Quotations on text export
Hi,
When I print to file with text option, when there are spaces in the field it
surrounds the fiel with double quotes. How can I disable this as, since the
text file is comma-delimited, there is no reason to have quotes around the
text. I am trying to export to a third-party software and this creates a
problem.
V7
Thanks
Alex
When I print to file with text option, when there are spaces in the field it
surrounds the fiel with double quotes. How can I disable this as, since the
text file is comma-delimited, there is no reason to have quotes around the
text. I am trying to export to a third-party software and this creates a
problem.
V7
Thanks
Alex
This discussion has been closed.
Comments
This is not a feature that can be turned off for the TextFileDevice. If you
take a look at the TppTextFileDevice class located in the ppFilDev.pas file
you will see where this is done inside the SavePageToFile routine. One
option would be to create and register a new TextFile device that is
essentially a copy of the current one only removes this feature. Another
would be to alter the current TextFileDevice to your needs.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks for that. Can I request an enhancement for the future where you can
specify whether to place quotes around items? In the meantime we will do as
you say.
Thanks
Alex
Thanks for the feedback.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com