Bug?
George Simon
george at worldest.com
Mon Sep 13 11:29:46 PDT 2004
Not a bad idea.
Thanks you, Bob!
George Simon (IT Department)
American River Logistics, LTD
614 Progress St.
Elizabeth, NJ 07205
Phone:(908)354-7746 Fax:(908)354-7491
mailto:george at worldest.com
http://www.americanriverintl.com/
-----Original Message-----
From: filepro-list-bounces at lists.celestial.com
[mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of Robert
Haussmann
Sent: Saturday, September 11, 2004 5:52 PM
To: 'George Simon'; fpsupport at fileproplus.com
Cc: filepro-list at lists.celestial.com
Subject: RE: Bug?
> On the following line:
>
> system "\fp\rclerk gfokname -sanc -xa -d -r"<1<"-rw"<2
>
> @pw will truncate the value in field 2 if there is a comma in it.
>
> For example, if field 2 contains: Simon, George
> @pw will only pass Simon,
> but if field 2 contains George Simon
> @pw will pass the entire value.
I don't think it's really a bug--more like a command line expectation.
Parameters on the command line are separated by spaces. So you
are ending up with a command line of:
\fp\rclerk gfokname -sanc -xa -d -r something -rw Simon, George
This gets parsed as:
parameter: -r contents: something
parameter: -rw contents: Simon,
parameter: George contents: nothing
To work around, enclose the paramters in quotes so that the resulting
command line is:
\fp\rclerk gfokname -sanc -xa -d -r something -rw "Simon, George"
That should give you the behavior you are looking for.
Bob Haussmann
Tabor Children's Services, Inc.
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
http://mailman.celestial.com/mailman/listinfo/filepro-list
More information about the Filepro-list
mailing list