syatem command and dummy fields

Kenneth Brody kenbrody at bestweb.net
Mon May 19 07:19:11 PDT 2008


Quoting Jay R. Ashworth (Sun, 18 May 2008 23:48:33 -0400):

> On Sun, May 18, 2008 at 10:17:14PM -0400, 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"
>>
>> Thanks to everyone. This is extremely efficient for us. Hope this helps
>> someone else.
>
> It will, but it will tie up an extra license.

Not with 5.6 or 5.0.15.

> And the parens are optional; you're not putting your ba and bc
> variables in a context where filePro expects literal strings.

The only place parens are needed are where expressions were retrofitted
into the syntax where filePro previously only took a field name (such as
lookup's "k=" or an unquoted literal (such as lookup's filename).

Well, unless you have an expression which requires parens as part of the
expression, of course.

[...]

-- 
Read the truth behind the movie "Expelled" at <http://www.ExpelledExposed.com>
--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list