Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
After Tableupdate() fails
Message
De
11/03/2012 11:06:16
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01537977
Message ID:
01537978
Vues:
48
>Hi,
>
>I am working on troubleshooting a rather rare case where a customer get an error on Tableupdate(). The error is generated and logged in but all it shows the a unique index key is violated. I need more information such as actual content of the cursor that failed. I can create a routine to scan the records of the "faulty" cursor and include in the error. So my question is, does VFP change anything in the cursor if the Tableupdate() fails?

No, if tableupdate fails, the cursor will be as it was before tableupdate (although the same is true otherwise as well). The table is not changed if tableupdate fails.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform