Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection handle is invalid in TABLEUPDATE() after reco
Message
From
18/05/2006 14:33:01
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
 
 
To
18/05/2006 13:07:09
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01123302
Message ID:
01123344
Views:
24
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform