Couldn't you get the same result from Save/Send Records as . . where
the field name becomes the header name and all the record data
populates below? Even though it is nominally an excel file you could
open it in word, or convert it out as a tab file. From your
description this is what it sounds like you're looking for.
Craig
On Oct 14, 2009, at 15:40, Chad Chelius wrote:
Stephen,
Actually I want one header at the beginning of the exported file
only, not before each record. So the resulting file would have the
header at the top then all of the exported records beneath.
chad
On Oct 14, 2009, at 6:00 PM, FMPRO-L automatic digest system wrote:
I'm exporting the contents of a FMP field to create a list of names
and addresses. I need to add a header to the exported file but it
only
appears once at the top of the exported file and not before each
exported record. How would I go about achieving that?
Chad Chelius
------------------------------
Date: Tue, 13 Oct 2009 16:44:47 -0600
From: Stephen Wonfor <[email protected]>
Subject: Re: Adding Header information to exported data
Chad
Do you mean row 1 is header, row 2 is data, row 3 is header, row 4
=20
data etc. then you'll need to script the export by writing the data
=20
into another data table. Or something.
Or you could give each record a serialID#, have the increment 2, so
=20
they go 2,4,6,8...
Then create a header row record, set its serial to 1, make a whole
=20
bunch of them, so they get 1,3,5,7
Sort by serial ID
Export.
But, why do you want the header "before each exported record"
Stephen