Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append text to already existing text file
Message
 
To
20/02/2001 18:18:53
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00477842
Message ID:
00477853
Views:
29
You can do:
SET ALTERNATE TO aTextFile ADDI
SET ALTERNATE ON
SCAN theDBF
  ?aField, anotherField
  ?....
ENDSCAN
SET ALTERNATE OFF
SET ALTERNATE TO
or:
fp = fopen(aTextFile,1)
=fseek(fp,2)
SCAN theDBF
  =fputs(aField + ', ' + anotherField)  && or fwrite()
ENDSCAN
=fclose(fp)
Doru
Previous
Reply
Map
View

Click here to load this message in the networking platform