sending more than 5 values to a dclerk from command line

Mike Schwartz mschw at athenet.net
Fri Apr 3 10:01:23 PDT 2015


> 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
> 
> James Flanagan

     Rather than get too deep into wildly coded system calls and MID
parsing, why not create a filePro file to hold the 12 items?  Let's call the
file "parameters".  

    You could popup a screen in the parameters file to allow the user to
enter the 12 items, then do a lookup into the parameters file from your -V
selection set processing to grab the parameters.  After that, you could
either delete the parameters record or, if they constantly use the same
parameters, you could leave the record in the parameters file.

     This method has the advantage of being easily modifiable code that any
filePro programmer can understand and repair.  

Mike Schwartz
  



More information about the Filepro-list mailing list