Browse lookup

Kenneth Brody kenbrody at spamcop.net
Fri Oct 10 14:17:43 PDT 2014


On 10/10/2014 11:42 AM, Richard Kreiss wrote:
> filePro 5.7.03
>
> windows
>
> I have a routine where the user selects a person in a browse. That
> person  and anyone else associated with that person is displayed in
> a second browse.

I am assuming that you know that you can currently have only one browse 
window open at a time, and executing a second browse lookup will implicitly 
close the first.

> By pressing <S> the operator enters the number of
> the event date the person is attending. Once that information has
> been posted, the browse re-executes (show=pkeep).
>
> The problem is on re-execution the browse header disappears, the browse
> window frame is gone and the highlight bar changes color to that of the
> screen background.
>
> When the operator returns to the original browse, full name list, and
> the  selected a name, the browse again displays properly.
>
> Has anyone come across this problem?
>
> Any suggestions on how to get the browse to display properly?
>
> I have tried video sync prior to the browse being redisplayed.
>
> Code below"
>
> Richard Kreiss
[...]
> look_po◄ If: ph ne ""
>         Then: lookup mark = l_patient_market  k=ph   i=I -nxm b=(ba&bb&bc)
[...]
>   97  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
> look_rn◄ If: rn ne "" and ph = ""
>         Then: lookup mark = l_patient_market  r=rn   -nxm b=(ba&bb&bc)
[...]
> 121  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>         ◄ If: @bk = "S"  and mark(65) ge "1"
>         Then: IsVent = "Y"; GOSUB chk_dat
[...]
> 123  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
>         ◄ If: @bk = "S"   'list the event dates for this doctor
>         Then:         ro=@br+"8";co(2,.0)="48";MasterCode=mark(16);flag="9";GOSUB list_dt;flag=""
[...]

You don't show the contents of the "chk_dat" and "list_dt" subroutines which 
will be called if the user presses "S".

-- 
Kenneth Brody


More information about the Filepro-list mailing list