J
Jim~C
Hi,
I'm using Access 2003/ADP and SQL Server 2000 on Windows XP
I've got relational constraints setup in my SQL server database. So, for
example, can't delete a customer who has orders.
I've bound a form to the customers table. In datasheet view, I delete a
customer that has associated order rows. Rightly so, Access displays a
message saying I can't delete the customer because he has orders. However,
the msg is not very friendly.
I've played with Form_OnError, the CurrentProject.Connection.Errors
collection, Application.DBEngine.Errors, etc but none of these contain the
error I'm trying to handle.
How is error handling done with ADP projects connected to SQL Server when
SQL server prevents actions that violate DRI?
Thanks in advance!
Jim
I'm using Access 2003/ADP and SQL Server 2000 on Windows XP
I've got relational constraints setup in my SQL server database. So, for
example, can't delete a customer who has orders.
I've bound a form to the customers table. In datasheet view, I delete a
customer that has associated order rows. Rightly so, Access displays a
message saying I can't delete the customer because he has orders. However,
the msg is not very friendly.
I've played with Form_OnError, the CurrentProject.Connection.Errors
collection, Application.DBEngine.Errors, etc but none of these contain the
error I'm trying to handle.
How is error handling done with ADP projects connected to SQL Server when
SQL server prevents actions that violate DRI?
Thanks in advance!
Jim