Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating progress from SQL
Message
From
16/05/2002 23:12:43
Jonathan Cochran
Alion Science and Technology
Maryland, United States
 
 
To
16/05/2002 17:22:06
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00657748
Message ID:
00657979
Views:
22
Right, this gives a start for a progress bar. You would have to do a COUNT or SELECT COUNT(*) first to get the total number of records. Then, you could use that number and the counter to figure out the current percentage. Of course, all of this is going to slow down the query.

>This function uses only a counter which is updated every function call.
>I'm still looking for a solution that gives a calculated percentage of the progress.
>
>I could imaging to use the counter and to use RECCOUN(), so the function could calculate the percentage. However, RECCOUNT() does not give the number of records which will be processed, especially if DELETED() is on.
>
>
>>See Re: Progress bar for a query Thread #645831 Message #645989
>>
>>>Hello,
>>>
>>>I would like to know which function I could use to update a progress bar from an SQL SELECT statement.
>>>
>>>The progress bar works from 1 to 100 and I need to figure out the percentage of the SQL progress.
>>>
>>>Thanks for help in advance.
Previous
Reply
Map
View

Click here to load this message in the networking platform