Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Progress Bar While search in Progress
Message
From
02/08/2005 09:48:26
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01037519
Message ID:
01037821
Views:
19
Peter,

>In addition: Reccount() can be calculated prior to doing the select-sql and put into a variable that is used in, or passed to, the progressbar function. Furthermore, another variable can be used for the current recno, becasue we know (we have set) the interval for the function call. So, simply increase that (probably also passed on) variable in the function. In this scenario we do not even have a need for reccount() and recno().

The idea of using a separate variable sounds like the perfect (and safest) solution. I'm thinking that I could be build a simple, light weight wrapper class for my SQL statements that require a progressbar and use either a property of the class or a temporary private variable as my counter.

Malcolm
Malcolm Greene
Brooks-Durham
mgreene@bdurham.com
Previous
Reply
Map
View

Click here to load this message in the networking platform