P
Penstar
I have an Access database which uses tables linked from an SQL Server. When
a user enters something that is a duplicate I get the following error:
OBDC --call failed.
[Microsoft][ODBC SQL Server Driver][SQL Server]Violation of PRIMARY KEY
constraint "PK_Items_4D94879B'. Cannot insert duplicate key in object
'dbo.Items. (#2627)[Microsoft][ODBC SQL Server Driver][SQL Server]The
statement has been terminated. (#3621)
I also get similar error when trying to delete
OBDC --call failed.
[Microsoft][ODBC SQL Server Driver][SQL Server]The DELETE Statement
Conflicted with the REFERENCE constraint "FK_IngredientDetails_Items". The
confilict occurred in databasse "ConKS", table "dbo.IngredientDetails",
column 'ItemID'. (#547)[Microsoft SQL Server Driver][SQL Server]The statement
has been terminated. (#3621)
How do I change the error message to simple wording so that the user can
understand?
a user enters something that is a duplicate I get the following error:
OBDC --call failed.
[Microsoft][ODBC SQL Server Driver][SQL Server]Violation of PRIMARY KEY
constraint "PK_Items_4D94879B'. Cannot insert duplicate key in object
'dbo.Items. (#2627)[Microsoft][ODBC SQL Server Driver][SQL Server]The
statement has been terminated. (#3621)
I also get similar error when trying to delete
OBDC --call failed.
[Microsoft][ODBC SQL Server Driver][SQL Server]The DELETE Statement
Conflicted with the REFERENCE constraint "FK_IngredientDetails_Items". The
confilict occurred in databasse "ConKS", table "dbo.IngredientDetails",
column 'ItemID'. (#547)[Microsoft SQL Server Driver][SQL Server]The statement
has been terminated. (#3621)
How do I change the error message to simple wording so that the user can
understand?