Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strippint Quotes From ASCII Output
Message
From
21/04/1998 17:57:39
Murray Mcintosh
Mammography Reporting System, Inc.
Seattle, Washington, United States
 
 
To
21/04/1998 17:45:53
Murray Mcintosh
Mammography Reporting System, Inc.
Seattle, Washington, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00093667
Message ID:
00093835
Views:
51
>>I think I have not made myself understood.
>>
>>I am performing a COPY TO to an ASCII file. I prefer to delimit the ASCII file with a tilde (~). I need to have a tilde between ALL fields with NO OTHER DELIMITER in the file so I can BCP the data into SQL Server 6.5.
>>
>Try the following:
>
>COPY TO somefile.txt DELIMITED WITH CHARACTER ~ WITH (phantom space)
>
>Note.....When you get to the (phantom space) part type "255" on your number key pad while holding down the alt key to insert the "phantom space" character.
>
>Murray

Actually, upon further examination, that can get quite ugly if the chr(255) ends up in your data. You need to first remove it from the text file with chrtran. Oh well, maybe chr(255) isn't such a good idea since you could use any other char and use chrtran with it also.

Murray
Previous
Reply
Map
View

Click here to load this message in the networking platform