Quick & dirty method. Low level file handling. Write out header directly to a 
new file, then simply read in all lines from current file and append to new 
file. That would do it. 

Regards,
Kurt Wendt
Senior Systems Analyst 


Tel. +1-212-747-9100
www.GlobeTax.com


-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Desmond 
Lloyd
Sent: Monday, June 13, 2016 4:19 PM
To: [email protected]
Subject: VFP9: Outputing a text file with field names

Good afternoon,

Am outputing a text file type delimited with character "" character tab,
works great.    The table it is being generated from is a mix of character
and numeric fields...

The only issue I have is that they wnat the fields names to make up the first 
record.  My original throught was to build a separate table with the fields 
names entered in the record (one record) and then append from my file.  This 
would put the field names up top and the rest of the data after
that.   Am concerned about adding the previously numeric fields as a
character field.

Any suggestions?
TIA,
Desmond


--- StripMime Report -- processed MIME parts --- multipart/alternative
  text/plain (text body -- kept)
  text/html
---

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/80838f1ca795b14ea1af48659f35166f2bc...@drexch02.corp.globetax.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to