Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connection handle is invalid in TABLEUPDATE() after reco
Message
De
18/05/2006 14:33:01
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
 
 
À
18/05/2006 13:07:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01123302
Message ID:
01123344
Vues:
21
This message has been marked as the solution to the initial question of the thread.
>I use SQLSTRINGCONNECT() and SQLEXEC() to work with remote data.
>My application re-connects automatically to backend server and
>re-tries the command
>when TCP connection is lost (error is returned from SQLEXEC())
>
>I make SPT cursor updatable using
>http://www.levelextreme.com/wconnect/wc.dll?LevelExtreme~2,84,14,8150
>
>However, after reconnect TABLEUPDATE() returns
>Connection handle is invalid error.
>
>User cannot save the entered data .
>SELECT commands from this connection handle work OK.
>
>Any idea how to fix this ?

Hi
Try SQLIDLEDISCONNECT( nHandle ) before tableupdate and after another connection was possible.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform