Home Server

csv separator

edited April 2008 in Server
Hi,

we have created the posibility to export a report to a csv file on our
asp.net website.
We work the same way as in your examples: Rboraclereportserver.exe and
webtiercomserver.ocx. Everything works fine.

We only want te change the separator used in the csv file from , to ;
How can we do this?

thanx in advance

Ruud

Comments

  • edited April 2008

    One option is to use the Report.OnSaveText to implement a custom delimiter.
    For an example, run RBuilder\Demos\Reports and check out demo 105
    (dm0105.pas). The example implements a '/' delimiter.

    Another approach would be to implement a custom file device that
    automatically exports using the ';' delimiter. You could descend from
    TppTextFileDevice defined in ppFilDev.pas




    --
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.