Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Asynchronous connection
Message
 
 
À
28/08/2005 16:55:19
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP1
Network:
Windows 2000 Server
Divers
Thread ID:
01044592
Message ID:
01044651
Vues:
17
Try to compile it into COM EXE.

>
>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).
>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform