Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Carriage returns in text files?
Message
 
To
16/12/1999 20:13:38
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00305000
Message ID:
00305060
Views:
28
Vlad

All we do is export the file using :

SET TEXTMERGE TO [name].TXT NOSHOW
SET TEXTMERGE ON

Then :

\<><<'|'>><><<'|'> etc etc etc

(we use pipe separators)

However, I think that the CHRTRAN() command may work..

Regards

Chris


>How are you creating the file?
>
>As Alan said, use only chr(10) for Unix, not chr(13) + chr(10).
>
>You can use chrtran() to replace all chr(13) into chr(10) and strtran() to replace all chr(10) + chr(10) into chr(10).
>
>Vlad
>
>>We are sending a text file to a customer running a UNIX machine (yuk) and they seem to have a problem with a ^M character at the end of each line (I think that this is the carriage return?). Does anyone know how I can strip out this character so it doesn't cause them heartache?
>>
>>Thanks
>>
>>Chris Kable
>>FuelTrac
Previous
Reply
Map
View

Click here to load this message in the networking platform