invalid argument system runtime error on line with variable lookup

Kenneth Brody kenbrody at bestweb.net
Thu Oct 25 11:16:41 PDT 2007


Quoting Bill Akers (Thu, 25 Oct 2007 12:33:08 -0500):

> Bruce Easton wrote:
>> I'm getting a filepro runtime error:
>>
>>  *** A System Error has occurred ***
>>  on file: \dvr/filepro/DEUDAS/map
>>  Line: 1407  invalid argument
>>
>> from an rclerk process (Windows fp ver. 5.07)
>>
>> where line 1406 and 1407 in the processing are:
>>
>>   If:
>> Then: fileq = filen{"@"{qual{""
>> ----- -  -  -  -  -  -  -  -  -  -  -  -
>
> This line with qual blank should be giving you fileq = 'filen@'.
> You are probably looking for fileq = 'filen' without the @ symbol.
> Some kind of conditional probably should be set to prevent the '@'
> symbol from being set when qual is blank or perhaps to add '""'
> after the '@' symbol when qual is blank.
[...]

A lookup to "filen@" and one to "filen" are not the same thing.

The former looks up to the non-qualified "filen" file, whereas the
latter looks up to the current qualifier in the "filen" file.

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