>Dear All,
>
>how to append a string to a text file without overwrite existing data?
>
You can do this using strtofile() function or low-level functions FOPEN(), FSEEK(), FWRITE()/FPUTS().
lcNewStr = "..."
lcFileName = "myfile.txt"
Strtofile( lcNewStr, lcFileName, .t.)
--sb--