Article ID: 117219
Article Last Modified on 11/17/2003
CREATE TABLE memonly (textfile M) SELECT 0 USE SYS(2004)+"\tutorial\customer.dbf" COPY TO test.txt TYPE DELIMITED FOR RECNO() < 5 SELECT memonly APPEND BLANK APPEND MEMO memonly.textfile FROM test.txt OVERWRITE REPLACE memonly.textfile WITH STRTRAN(textfile,CHR(10),CHR(13)) COPY MEMO memonly.textfile FROM test2.txtOpen both files in Microsoft Word. TEST.TXT contains a box character at the end of each record. TEST2.TXT starts a new line where the box characters used to be in TEST.TXT.
REPLACE textfile WITH STRTRAN(textfile,CHR(10),CHR(13)+CHR(10))
115418 Appending from a Delimited ASCII File Using Low-Level File I/O
Additional query words: VFoxMac FoxMac line feed hard return soft CR/LF text
Keywords: kbcode KB117219