Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Primary Key Violation in VFE6.0 & SQL Server
Message
From
17/04/2000 15:49:13
 
 
To
17/04/2000 06:10:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00360276
Message ID:
00360590
Views:
9
Siva

This is an error return by the SQL Server. You can catch this error using the AERROR() function.


>Hi Every body
>
>We are working VFE 6.0 with SQL Server using remote views. While adding records, in case if primary key violates system displaying
>the following message.
>
>" Violation of primary key constraint 'constraint name'. Cannot
>insert duplicate key in object 'table_name' "
>
>We try to find the error number in "Error" method. But Error method is not invoking. We beleive this is the ODBC error. How to catch such error.
>
>Please advise.
>
>Thanks
>V. Siva Nagi Reddy
Ricardo Parreira
PHC
Portugal
Previous
Reply
Map
View

Click here to load this message in the networking platform