Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Primary Key Violation in VFE6.0 & SQL Server
Message
De
17/04/2000 15:49:13
 
 
À
17/04/2000 06:10:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00360276
Message ID:
00360590
Vues:
10
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform