sending more than 5 values to a dclerk from command line
Kenneth Brody
kenbrody at spamcop.net
Fri Apr 3 10:18:17 PDT 2015
On 4/3/2015 11:53 AM, James Flanagan 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.
There are several ways.
* Putting fixed-length values into the parameter variables, and MID()
them back out.
* Put them in delimited values in the parameter variables, and use
INSTR() and MID() to pull them out.
* Use PUTENV to put them into the environment and GETENV() to read
them.
--
Kenneth Brody
More information about the Filepro-list
mailing list