> >Another way to do this using the COPY TO function: > 1. Add "delimiter" fields to your table to hold the "tab" character > fld1... > delimit1 C(1) > fld2... > delimit2 C(1) > fld3... > 2. Populate the delimiter fields with "tab" [chr(9)] > 3. COPY TO FileName TYPE SDF >Good ideas, Michael. That sparked another idea that does not require changing the table structure.
SELECT field1+CHR(9), field2+CHR(9), field3 ; FROM table INTO CURSOR temp COPY TO FileName TYPE SDFIf non-character must be output,
SELECT TRANSFORM(field1)+CHR(9), ....