Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Export to a flat ASCII file
Message
 
 
To
02/11/2001 19:45:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00577063
Message ID:
00577069
Views:
36
>Hi Sergey;
>If I use COPY TO TYPE SDF (which I agree 'looks right'), how do I create a file that has a header, details and a trailer. ie. How do I append 3 separate 'COPY TO results' into one file?
>

You've two choices depending on the size of the file:

1. You can use FILETOSTR() AND STRTOFILE() if file size is less than 16Mb.

2. Use low-level FREAD()/FWRITE() functions if file is to big.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform