Export to CSV: delimiter

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
pauldb
Posts: 46
Joined: Tue Oct 10, 2017 12:44 pm

Export to CSV: delimiter

Post by pauldb » Tue May 13, 2008 2:05 pm

When exporting to CSV, the delimiter is a comma sign.____This makes the export functionality useless here in Europe, where a comma is also the decimal "point" character e.g. 12,45. __So if your report contains numeric fields with decimals, then the created file will contain commas for separation of fields, but also for indicating decimal positions. Such a file cannot be parsed correctly by Excel.____E.g. this CSV export with 10 fields will be parsed to 13 fields by Excel:__CFFinPrs,FNRBADGE,FNAAMVTG,FNRCHAUFF,FNAAMCHAUF,FDATTANKIN,FUURTANKIN,FKMHUIDIG,CFLiters,CFPrijsAdj__719,93,"13001","13001","00000","00000",22/04/2008,"12:31",302850,750,01,0,9599____How can I choose another delimiter sign in R&R? It is much more common to use ";" or "|". ____TIA____Paul__ __

pauldb
Posts: 46
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: Export to CSV: delimiter

Post by pauldb » Wed May 14, 2008 8:46 am

Additionally: when using the export function in the Report designer, nearly everything is possible: choosing between Comma, tab, character delimited and which delimiter character to use. ____But how do we do this in runtime (through the ocx or DLL) ??____Paul

pauldb
Posts: 46
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: Export to CSV: delimiter

Post by pauldb » Thu May 15, 2008 2:05 pm

Come on... an answer please. ____Thank you____Paul

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

===> RE: Export to CSV: delimiter

Post by kfleming » Thu May 15, 2008 2:22 pm

You can choose your own delimiter by selecting Text Data character delimited and then going to the Options tab to enter the character that will be used as the delimiter.____There is not a way to pass this information to runtime. Runtime uses the settings that are saved in the report unless you are prompting for destination. In the latter case you have the export dialog available to manually make your selection.__If you save the report with character delimited and select a delimiter, runtime will indeed use the delimiter that was saved with the report.______Kathleen__R&R Support

pauldb
Posts: 46
Joined: Tue Oct 10, 2017 12:44 pm

====> RE: Export to CSV: delimiter

Post by pauldb » Mon May 19, 2008 8:31 am

OK Thanks, I^ll give it a try. __Paul

Post Reply