The SET TEXTMERGE command is perfect for adding to an existing text file. Have a play with this code.
*-- Pick the file to add text to
SET TEXTMERGE TO "C:\MY TEXT FILE.TXT" ADDITIVE
*-- Turn text merge on
SET TEXTMERGE ON NOSHOW
*-- Add the text to the file
\\this text will be added to the end of "my text file.txt"
\so will this
\also you can put VFP variables in <
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement