Browse Lookups

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


Yeah - I like that as it tells the user something as time is going by.  
It might need the pushkey technique I described to take down the message 
upon completion. But there may be a visual clue to the end-user.  I 
haven't done this in a while, but I can't remember if filepro's 
highlighting of the 'current' line in  the browse actually occurs while 
drop-processing is going on or only after it's completed. --Bruce

On 6/25/18 3:24 PM, Fairlight via Filepro-list wrote:
> 1) Before your lookup, do a SHOW (or other NON-blocking) text display.
>
> 2) Set an increment counter to zero.
>
> 3) Every time that code block is executed, increment your counter.  If you
> want to handle it in multiples of 'x', do the calculation to determine if
> you're on that multiple (of, say...100 or 1000).
>
> 4) Every time it's time to print the message, update it with the
> incremented counter.
>
> 5) After the lookup is complete, take down or otherwise paint over your
> text display.
>
> 6) Profit.
>
> m->
>
> On Mon, Jun 25, 2018 at 03:06:24PM -0400, Scott Walker via Filepro-list thus spoke:
>> 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