Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to detect ADO CommandTimeout
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
How to detect ADO CommandTimeout
Divers
Thread ID:
00469628
Message ID:
00469628
Vues:
55
I am using the CommandTimeout property on an ADO connection in Visual Basic to prevent queries to my FoxPro tables from running too long. This seems to work, but I need a way to determine whether a query ran to completion or timed out. I tried using the ADO event ExecuteComplete, but adStatus is always adStatusOk. I also tried running the query asynchronously (see MS knowbase article Q190606), but I get the error Current provider does not support asynchronous execution. Does anyone have an idea or a work around?

Thanks!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform