Hello all,
can someone help me with this please.
I have to output a csv file of data from axapta, which I have done. But
the third party software that requires this file needs the first line
without quotes arround it. (NON-csv) and the rest of the file as csv.
Below is my code....to out all lines as csv file
========================================================================
==================
Filename filenameInProcess;
Container lineData;
;
filenameInProcess= "c:\\csvfile.csv";
CSVFile = new CommaIO(filenameInProcess,"W");
lineData = ["CSV YYYY/MM/DD hhmm HEAD LINE VAT TRAIL
NN "];
CSVFile.writeExp(lineData);
...subsequent lines in csv format.
========================================================================
==================
I think the way to do this is to create the file as csv then re-read and
write out as non-csv file, removing the quotes from the first line?
Can anyone help with some code on how to do this?
Regards,
Jason
[Non-text portions of this message have been removed]
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

