Exporting all fields in columns

Anyone know a way to export all field value in named columns?

I can't find a way to discover all field names, nor to output discovered fields in columns.

Thanks.

Have a look at
/t/9520/1

Just the ticket - thanks.