You can use the WriteLog2() UDF to build the file you want. You will have to write it one line at a time or build the file by concatenating the text and @CRLF values into a single variable then writing the contents of the variable.

[ 04. July 2003, 16:35: Message edited by: Howard Bullock ]
_________________________
Home page: http://www.kixhelp.com/hb/