-v processing

Kenneth Brody kenbrody at spamcop.net
Mon Jun 8 20:22:47 PDT 2009


Dennis Malen wrote:
> Using Nancy's suggestion concerning the use of the automated index I have 
> found the following:
> When I use:
>  ~ If:    ww="" and 3 lt dt
>  Then: lookup -  k=dt   i=B -ng
> ------   -   -   -   -   -   -
>  ~ If: 3 ge dt and 3 le dy     '
>  Then: select
> ------   -   -   -   -   -   -
> I get an additional record that does not meet my criteria. It is the first 
> record that filepro sees that it seems to accept.

That means you executed the SELECT on that record.

> In order to fix the problem I reversed the process and used:
>  ~ If: 3 ge dt and 3 le dy     '
>  Then: select
> ------   -   -   -   -   -   -
>  ~ If:   ww="" and 3 lt dt
>  Then: lookup -  k=dt   i=B -ng
> ------   -   -   -   -   -   -
>  This fixed the problem.

I assume that your processing is longer than just these two lines.  Without 
seeing these lines in context, we can really only guess as to the cause.

> I am on 5.0.

This method has worked as long as there has been a lookup dash, which was 
probably sometime in the 1980's.

> ANOTHER POINT:
> 
> I did not have to put the -In on the menu line in order for the index to 
> work.

Then you're doing something that's not the "lookup-dash in sort/select 
processing" method.

Again, without seeing those two lines in context, we could only guess as to 
what's really going on.

-- 
Kenneth Brody


More information about the Filepro-list mailing list