Browse Lookups

Bruce Easton bruce at stn.com
Mon Jun 25 12:37:25 PDT 2018


Scott, there is likely more than one way to do this.  One way would be 
to not rely so much on the drop-processing capability of filepro browse 
lookup and:

-put up a message 'building'
-build the desired results into another temporary file - perhaps one 
keyed by the current process ID (to avoid conflicting with another user
-one the build above has completed, take down your message and then you 
can browse ALL of the records for the current session in a browse lookup
-when the user exits the browse, remove the temporary records that they 
created in the temp file

Another, and I've not tried this, might be to :

-put up a message 'building' (above your browse line)
-pushkey a key into the key buffer that  will be interpreted by your 
browse lookup (tested via @bk) to only:
     a. take down your message; and
     b. go back to the label on your browse line (where you've specified 
that the browse lookup should 'pkeep' its place
-use the browse as you have already define it with its drop-processing

The order and labeling of this second possibility would be important:

Then: 'put up message goes here
Then: 'pushkey goes here
label  If:  'where repeating the browse comes back to here
     Then: 'do the browse lookup


--Bruce


On 6/25/18 3:06 PM, Scott Walker via Filepro-list wrote:
> I'm doing a browse lookup.
>
> There is some code executed for each record which causes many of them to be
> dropped  (that is good).
>
> But when a lot of records are dropped (like thousands) I want to flash a
> message telling the customer that the system is doing some searching and is
> not "frozen".  When the system is not actively searching for records to
> include, (like when it's filled up the entire browse lookup window) I want
> this message to be cleared or when it's gotten to the end of the file it is
> searching through.
>
> Has anyone figure out how to do this?
>
> I'm having trouble figuring out where the right place to put the code to do
> this would be.
>
> Regards,
> Scott Walker
>
>
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> Subscribe/Unsubscribe/Subscription Changes
> http://mailman.celestial.com/mailman/listinfo/filepro-list
>



---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the Filepro-list mailing list