SET TEXTMERGE TO MyFile.TXT NOSHOW
SET TEXTMERGE ON
SELECT MyTable
SCAN
\This text will be added to the file exactly as it shows here.
* The next line will add the contents of MyField1
\\ <>
* The next line will add the currect DATETIME()
\\ <>
ENDSCAN
SET TEXTMERGE OFF
SET TEXTMERGE TO