Make sure that none of the fields on your temp-table have a format which would include commas.
Then simply:
OUTPUT TO /somewhere/somefile.csv.
FOR EACH temp-table NO-LOCK:
EXPORT DELIMITER ',' temp-table.
END. /* End for each */
OUTPUT CLOSE.
Simply replace "/somewhere/somefile.csv" with the path and name of the file you want; replace "temp-table" with the name of your temp-table.
Hope this helps.
:awink: