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

Quotations on text export

edited July 2007 in End User
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

Comments

  • edited July 2007
    Hi Alex,

    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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited July 2007
    Hi Nico,

    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

  • edited July 2007
    Hi Alex,

    Thanks for the feedback.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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