>Use the AFIELDS() function to get an array of fields and build the comma delimited string using this array. After that, just insert the string at the beggining of the file.
>
>BTW, why do you need this?
>
>Vlad
>
Paul
The program I am importing into requires the first row to contain the
field names and be the "header" row to correctly place the data in
the proper fields. Right now my SQL statement is creating a table,
but I think it will be more efficient if I change it and go into a cursor
and work with that, as I don't need to keep what the SQL creates. Any suggestions
will be appreciated.