General information
Category:
Coding, syntax & commands
Ok, CSV option can give you a header, and delimeter option can give you delimeter that you need. Unfortunately you cannot combine them together in one /copy to.../ statement (at least at this moment I cannot remember howtodoit)
There is a number of solutions however. For instance,
copy to filename.csv delimet with character....
=afields(afld)
lcheader=""
for ia=1 to alen(afld,1)
lcheader= lcheader+iif(ia=1,'','|')+afld[ia,1]
endfor
=strtofile(lcheader+chr(13)+chr(10)+;
filetostr(filename.csv),filename.csv)
>now the , is not there but it put me " nad i dont want this
>
>"ex1"|"ex2"|
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only