Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connection handle is invalid in TABLEUPDATE() after reco
Message
De
19/05/2006 07:36:41
 
 
À
18/05/2006 14:33:01
Dorin Vasilescu
ALL Trans Romania
Arad, Roumanie
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:
01123509
Vues:
20
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform