syatem command and dummy fields

Walter Vaughan wvaughan at steelerubber.com
Mon May 19 04:17:57 PDT 2008


Dennis Malen wrote:

>Just want to report that the following works. This opens up a tremendous 
>amount of opportunities to control reports that are to be run and which can 
>be changed on the fly without entering processing.
>
>-------   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>  ~ If:
>  Then: ba=7;bc=8
>-------   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>  ~ If:
>  Then: system "/appl/fp/rreport"<(ba)<"-f"<(bc)<"-v vrab -a -u"
>
>  
>
Also be aware that fields 7 and 8 are now vectors that can get you in 
trouble.
If someone puts "; evil_command; " in one of those fields, they have 
full access to
whatever filepro has as well. Delete, change records, logs, etc... at will

You might want to strip those fields of semicolons for auditing purposes.


More information about the Filepro-list mailing list