browse lookup problem

Kenneth Brody kenbrody at bestweb.net
Wed Apr 9 15:20:28 PDT 2008


Quoting Richard Kreiss (Wed, 9 Apr 2008 17:43:01 -0400):

> Have an application where I am doing a browse using an index based   
> on a code and last name.
>
> This runs from @entsel while sitting on 1 record.
>
> An input get some part of a last name such as just the first letter   
> of the last name.
>
> 69  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>        ◄ If: gn = ""
>        Then: ba="(brw=12 xkey=x pop=event fill=asc,top)"
>  70  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>        ◄ If: gn ne ""
>        Then: ba="(brw=12 xkey=x pop=event mlen=4 fill=asc,top)"
>  71  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>        ◄ If:
>        Then: bb="[\b5Code         Last Name          First Name       
>        Doct
>  72  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>        ◄ If:
>        Then: bc="*16           *1                   *2                   *45"
> 74     ◄ If: gn ne ""     'use group code display all docs in group
>        Then: lookup mark = l_patient_market  k=lv   i=U -nx b=(BA&BB&BC)
>
> The first time through everything is fine.
[...]
> Now the problem, if I enter just a letter or a complete last name,   
> the browse hangs for a few seconds and then displays records at the   
> end of the file.  Pressing <enter> causes the correct display of   
> records.
[...]

What happened to line 73?

What's in gn?

What's in lv?

After pressing Enter and coming back around, what's in gn and lv?

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