Adding header to a delimited export
Kenneth Brody
kenbrody at bestweb.net
Mon Jan 10 09:42:15 PST 2005
"Brian K. White" wrote:
>
> ----- Original Message -----
> From: "Matthew Williams" <matthew.d.williams at gmail.com>
[...]
> > Recently UPS updated their software and now it requires that our file
> > contain headers to identify the fields. It simply won't map field 1
> > to customerID etc etc, you need the header to say "CustomerID" and
> > then map it to their field.
[...]
>
> Piece of cake.
>
> ----top----
> Then: gosub exp
> Then: plant(1)=1;plant(2)=2;plant(3)=3;plant(4)=4;plant(5)=5
Then: end
> @once: if:
> then: gosub exp
> then: plant(1)="CustomerID" ; ... ; plant(5)="DestinationZip"
> then: end
> exp: if:
> then: export word plant = /upss/ups.txt -r=\n -f=,
> then: end
^^^-- return
> ----end----
[...]
--
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody | www.hvcomputer.com | |
| kenbrody/at\spamcop.net | www.fptech.com | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
Don't e-mail me at: <mailto:ThisIsASpamTrap at gmail.com>
More information about the Filepro-list
mailing list