Adding header to a delimited export
Matthew Williams
matthew.d.williams at gmail.com
Mon Jan 10 10:46:50 PST 2005
Still troubled...although I can't believe I didn't think of the
variable in the first place, I guess I wasn't in developer mindset;
stuck in networking mindset at the moment...
When I run it I still receive the same output as before, a bunch of
records the way they're supposed to be but still without the header.
Am I missing something simple or have a syntax error somewhere?
Here is what i've got:
1 ------- - - - - - - - - - - - - - - - -
If:
Then: export word plant = /upss/ups.txt -r=\n -f=,
2 ------- - - - - - - - - - - - - - - - -
If:
Then: F="Y"
3 ------- - - - - - - - - - - - - - - - -
If: F ne "N"
Then: plant(1)="CustomerID";plant(2)="Country";plant(3)="Attention"
4 ------- - - - - - - - - - - - - - - - -
If: F ne "N"
Then: plant(4)="Company";plant(5)="Address1";plant(6)="Address2"
5 ------- - - - - - - - - - - - - - - - -
If: F ne "N"
Then: plant(7)="City";plant(8)="State";plant(9)="Phone";plant(10)="Zip"
6 ------- - - - - - - - - - - - - - - - -
If:
Then: F="N"
7 ------- - - - - - - - - - - - - - - - -
If: F ne "N"
Then: plant(1)=1;plant(2)=2;plant(3)=3;plant(4)=4;plant(5)=5
...................
10 ------- - - - - - - - - - - - - - - - -
If:
Then: end
Thanks in advance!
More information about the Filepro-list
mailing list