Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append text to already existing text file
Message
 
À
20/02/2001 18:18:53
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00477842
Message ID:
00477853
Vues:
28
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform