Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Asynchronous connection
Message
From
28/08/2005 16:55:19
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2000 Server
Miscellaneous
Thread ID:
01044592
Message ID:
01044649
Views:
19
PUBLIC loProgress
loProgress = CREATEOBJECT("ProgressIndicator")
loProgress.setup("Calculating Payments", 1, 1, 0, .T., .F.)
loProgress.show()
inkey(4)
lnHndl = sqlconnect("yak")
?SQLSetProp(lnHndl,"Asynchronous",.t.)
?SQLEXEC(lnHndl,"call sp_CalculatePayments(13)","test",la)
As soon as I called sqlexec() the progress bar quit moving until the sp was done (about 10 seconds).


>>Same problem. I can display the animated gif but sqlexec() stops all progress until the sp is done. Asynchronous = .t. or .f. makes no difference. I always thought that setting Asynchronous .t. would give control back to vfp as soon as sqlexec() was executed.
>
>How did you implement the ProgressBar?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform