Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADO RecordSet ASYNCH
Message
De
16/05/2001 11:43:24
 
 
À
16/05/2001 09:53:35
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00507782
Message ID:
00507887
Vues:
8
This message has been marked as the solution to the initial question of the thread.
>How do I fetch a recordset asynchronously?
>(Or execute a command)
>I can't seem to figure it out from the API docs.
>
>Thanks

You can use adAsyncExecute as an option to the recordset, connection or command objects for that. Then you just need to check the State property of the recordset to see if the command is still executing or it's finished (open). In the API reference see ExecuteOptionEnum and ObjectStateEnum.

If you want to use events you have to bring VFPCOM to bind to the FetchProgress and/or FetchComplete events.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform