invalid argument system runtime error on line with variable lookup

Bill Akers billa at mgmindustries.com
Thu Oct 25 10:33:08 PDT 2007


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.


>   If: 
> Then: lookup readd = (fileq) r=rv -n 
> 
> rv is declared as 8,.0
> fileq at the time it hits here should hold: DEUDAS
> and qual should be blank
> 
> I haven't been able to test with debugger since 
> the system error comes up right away.  When I insert 
> lines above the problem line, the error message 
> follows that same lookup line.
> 
> This is a clerk process that runs out of another 
> file (not DEUDAS) and runs from @menu straight down 
> to the problem point.
> 
> Any ideas?
> 
> Bruce
> 
> Bruce Easton
> STN, Inc.

Bill Akers



More information about the Filepro-list mailing list