sending more than 5 values to a dclerk from command line

Jay Ashworth jra at baylink.com
Tue Apr 7 13:44:24 PDT 2015


As your single -r parameter, send

KEY1|KEY2|KEY3|ETC

And in the -v table, do

IF @PM co "|"{keyfield SELECT
IF @PM co KEYFIELD{"|" SELECT

You might have to do those {'s off in a dummy, I forget.

But multiple SELECTS in one record are atomic, I think.


On April 3, 2015 11:53:24 AM EDT, James Flanagan <James at Flantec.com> wrote:
>Filepro 5.7.0.4
>FreeBSD	
>
>I am working on an external mechanism (outside of filepro) where i
>would like a user to be able to send 12 or more keywords to dreport via
>a unix command line, and then using a V table, it will limit the
>records to those keywords, and then it will generate the desired
>report.  that said, i only have @PM, @PW, @PX, @PY and @PZ to work with
>.  what is the most elegant way to get 12 or more keywords into a V
>table?  Should i use the 5 existing R flags and use a MID command to
>chop them up into the multiple values?  Is there another, better way to
>accomplish this?   thank you very much, in advance.  
>
>James Flanagan
>Flantec.com <http://flantec.com/>
>
>email:	James at Flantec.com <mailto:James at Flantec.com>
>mobile:	760-458-8498
>home: 	219-221-6219
>text:		7604588498 at txt.att.net <mailto:7604588498 at txt.att.net>
>
>aim:		Flantec
>oovoo:	Flantec
>Skype:	Flantec
>ichat:	Flantec at mac.com <mailto:Flantec at mac.com>
>
>home:	1901 Cidermill Road
>		Michigan City, IN 46360
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL:
><http://mailman.celestial.com/pipermail/filepro-list/attachments/20150403/a44d0ddb/attachment.html>
>_______________________________________________
>Filepro-list mailing list
>Filepro-list at lists.celestial.com
>Subscribe/Unsubscribe/Subscription Changes
>http://mailman.celestial.com/mailman/listinfo/filepro-list

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.celestial.com/pipermail/filepro-list/attachments/20150407/f80e5557/attachment.html>


More information about the Filepro-list mailing list