Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a Flat File with no CR, LF
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00477625
Message ID:
00477837
Views:
26
>If you can transform it all to one character string, then you can use strtofile(). Else you could use low-level I/O, by using the functions: fcreate(), fwrite(), fclose().
>
>I used a copy to command to create a flat file using the SDF type.
>>I submitted this file to UPS for testing and they rejected it due to Carriage Returns and/or Line Feeds.
>>
>>Is there another way to create a flat file from a table to not get these codes at the end of the line?
>>
>>And - does anyone know of a good product to look at flat files with? These lines are 770 characters long and everything I bring them into tries to word wrap.
>

> HTH,

I use EditPad by Jan Goyvaerts (for viewing text files) you can get it directly from the web site: http://www.jgsoft.com With EditPad one can turn word wrap on and off simply from a button in the toolbar. (it's an axe button) And generally the interface of EditPad is interesting and shows that the programmer has a good sense of humor.

-Lou
"All my life I said I wanted to be someone ...
I can see now that I should have been more specific." -Jane Wagner
Previous
Reply
Map
View

Click here to load this message in the networking platform