gosub and lookup in browse drop processing

GCC Consulting gccconsulting at comcast.net
Fri Jun 6 08:28:12 PDT 2008



> -----Original Message-----
> From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com
>
[mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com]
On
> Behalf Of Scott Nelson
> Sent: Friday, June 06, 2008 11:00 AM
> To: filePro Mailing List
> Subject: gosub and lookup in browse drop processing
> 
> When using a browse lookup with xkey=x and prc=label, if doing another
> gosub and lookup to the same file in that label, the xkey=x is ignored,
> and other records in the lookup file are shown.  There are different
> handles to each lookup since it is the same file, but using a different
> index.
> 
> I believe this worked under pre 5.0.9 versions, but I no longer have
> those running anywhere.  Does anyone use this technique, and have it work?
> 
> Scott

I do this a lot but always use the same handle (alias).  My preference
though is to grab the record # of the record I want to do the lookup to and
use that.  I found that this insures getting the proper record in case the
key is multi-field.  i.e. order # & line #.

This technique has worked as far back as 4.0 but I may have used it in 3.0.


Richard Kreiss
GCC Consulting
rkreiss at gccconsulting.net
  






More information about the Filepro-list mailing list