Is it possible to export a header line when using the export function?
Yes. You can just put the desired header line in your formula and join it with the export. For example, if you are exporting fields A, B and C and wanted the field names as the header, you do this:
assuming that your export formula separates the line items with tabs. You can add anything else you want, such as a report title, report date, etc.
…or use the databaseexportusingformula statement with the titles option set to your header information.
that worked, thanks