Adding header to a delimited export

Walter Vaughan wvaughan at steelerubber.com
Mon Jan 10 12:01:29 PST 2005


Matthew Williams wrote:

> I hate to keep flooding the list like this

<snip well written code 'cept for one thing>
you have to "WRITE plant" after the 1st time you load the export in 
order to get it to write it out to disk. The automatic "WRITE" comes 
when the record changes. After your code returned from the init routine 
it just replaced those values with the values in the first record 
selected rather than your header text. However if before you return from 
the init routine, you tell filePro to WRITE what it has so far, it'll 
send it to the disk file. Then you can fill up the export with real data 
and the information will be written out to disk when the record changes.

Not very intuitive (unless you've been using filePro since the 80's), 
but that's the way it works.

Flood away...

--
Walter


More information about the Filepro-list mailing list