Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
After Tableupdate() fails
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01537977
Message ID:
01537978
Views:
49
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform