Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CSV file
Message
From
21/10/2004 14:20:31
 
 
To
21/10/2004 13:58:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00953340
Message ID:
00953438
Views:
11
Paul,

I guess you use 'Copy to yurscsv type csv'? If so, you nedd to temporarily add an extra character field for each field you need with the preceding zeroes. This may mean you have to copy the data to an intermediate cursor. Then you use the transform function to populate the extra character fields with the values you want, including the zeroes. The thing is, you must use character fields for this to work.

>Tore,
>
>Yes, I can transfrom data but when copying to CSV file, zeros always disappeared again. I believe CSV file never kept zeros in front of
>123456789 even the field is character or numeric.
>
>****TRANSFORM(yourdata,'@L 9999999') && Be sure to include enough 9's
>
>Any other ideas how to do this really appreciated .
>
>rgds,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform