Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying to a delimited
Message
From
24/09/2001 11:34:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
24/09/2001 11:30:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00560023
Message ID:
00560026
Views:
16
>I am trying to copy a table to a text file delimited with with a ~ but without the quotes.
>copy fields ... to filename delim with chara "~" gives me this:
>"123"~"charge"~"113"
>
>I need 123~charge~113
>
>Thanks for any help,
>Eric

My experience is that when the default format isn't satisfactory, you have to do some programming yourself.

You have several options here. For instance, you can:
set alternate to output.txt
set alternate on
scan
  ? "123" + "~" + "charge" + "~" + "113" && change for equivalent fields
endscan
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
Reply
Map
View

Click here to load this message in the networking platform