Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL passthrough when error is a unique key violation.
Message
From
30/05/2001 16:36:51
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
SQL passthrough when error is a unique key violation.
Miscellaneous
Thread ID:
00512889
Message ID:
00512889
Views:
38
Has anyone had this problem. I am testing my error traping one test I set up is a test that will create a unique key violation. I do this through a passthrough.

I run the test I get a return of -1 and the error message says I have violated a unique key constraint, this is good.

The problem is, the passthrough will not let go of the last error.
I use a passthrough to write this error to an error table I have created, but it will not write to the table because the unique key violation is still in effect.

How do I get ODBC to let go of this unique key error and use the passthrough to write this error message to my error table.
Next
Reply
Map
View

Click here to load this message in the networking platform