Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to convert txt file into xls file with vfp
Message
From
25/09/2003 00:39:03
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
25/09/2003 00:33:06
Hee Lim Wang
Fantasy Software Enterprise
Malaysia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00832089
Message ID:
00832090
Views:
26
>to convert dbf to xls is simple
>use xxx.dbf
>copy to zzz type xls
>
>but to convert txt file into xls.... how??????

There are several possibilities, depending on the format of the data. You may want to look at my article on text manipulation, to get some ideas: http://www.levelextreme.com/Magazine/August2003/Page20.asp

In this case, if the file is comma-delimited, I think you should convert it to DBF first, with APPEND FROM or IMPORT.

HTH,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform