Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to concatenate SDF files?
Message
From
26/09/2002 19:54:59
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00705004
Message ID:
00705032
Views:
29
>If files arent't to big you can use Filetostr() and Strtofile() functions
lcDir = < Some Directory >
>lcResultFile = < ... >
>DIMENSION laFileList[1]
>= ADIR(laFileList, lcDir + "*.txt")
>ERASE (lcResultFile)
>FOR i=1 TO ALEN(
>  STRTOFILE(FILETOSTR(lcDir + laFileList[i,1]), lcResultFile, .T.)
>ENDFOR
>

Thanks Sergey. I will study this code and try it out.
- Ravi

True greatness consists in being great in little things.
- Charles Simmons
Previous
Reply
Map
View

Click here to load this message in the networking platform