Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection handle is invalid in TABLEUPDATE() after reco
Message
From
19/05/2006 07:36:41
 
 
To
18/05/2006 14:33:01
Dorin Vasilescu
ALL Trans Romania
Arad, Romania
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:
01123509
Views:
19
Dorin,

>Try SQLIDLEDISCONNECT( nHandle ) before tableupdate and after another connection was possible.

Thank you. I added this command after SQLEXEC('Start TRANSACTION') returns connection lost error. This solves the problem.

I do'nt understand "before tableupdate".
I have TABLEUPDATE() command inside transaction. If I add SQLIDLEDISCONNECT()
before TABLEUPDATE() SQLIDLEDISCONNECT() causes transaction to be rolled back since new connection is requested from backend. So it seems that it is not possible to add SQLIDLEDISCONNECT() before tableupdate if tableupdate is used in transaction.

If connection lost error is returned from TABLEUPDATE(), I think I must recommend the user to re-try the command. This causes the whole transaction to be re-executed.
Andrus
Previous
Reply
Map
View

Click here to load this message in the networking platform