wef brw lookup behavior

Barry Wiseman bwiseman at optonline.net
Tue Jan 22 07:08:17 PST 2008


Scott Nelson wrote:
> When doing a browse lookup for a select list to fill a field using wef, 
> there are a couple strange things:
> 
> First, after the lookup and @bk eq "S" to Select a record, the skip 
> command does not work.  I have to use a pushkey "[entr]"
> 
> If you use @bk and then corresponding letters in the exit keys, then you 
> can not hit Enter to drop the window.   When attempting to use [Entr] on 
> the exit key and @bk, the browse lookup drops, and the cursor flashes at 
> the point where 'enter selection' would be.
> 
> Am I overlooking something due to excessive cold medication????

Yes, unless you're trying to do something more than simply "fill a field 
using wef".  For the task you describe, no exit keys or @bk required, 
the user will simply press Enter to choose a value, e.g.:

@WEF2:2 eq "":lookup drtype k=2 i=A -ng b="(brw=12 fill=asc,top)*1":
:2 ne "":lookup drtype k=2 i=A -ng b="(brw=12 fill=asc)*1":
::2=drtype(1); display; skip:

Sounds like you're trying to use multiple possible exit keys from the 
browse lookup to provide other functions than simply "gimme this one and 
put it in my field".  Let's see the code.


More information about the Filepro-list mailing list