Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to implement a progress bar while running a remote v
Message
From
13/05/2021 06:43:44
Walter Meester
HoogkarspelNetherlands
 
 
To
12/05/2021 13:32:09
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01680151
Message ID:
01680355
Views:
33
Likes (1)
>>>So, how can I get the SQL Server session id my query is running in?
>>
>>SELECT @@SPID
>
>Thank you.
>
>So, you say the query that runs the lengthy query should have an asynchronous connection, and the one that reads the advance of the first query should not be asynchronous. What I don get is, in what moment the one that reads the advance should be issued? And how can I know that the lengthy query is completed?

Yes,.... and you can run the query that read the advance whenever (e.g. timer) you want to update the user on its progress

You know when the query is completed when SQLEXEC(nASyncHandle) returns any other values than 0

Walter,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform