Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Constraint Error Message Reassignment

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-08-21 : 15:08:36
New_Phoenix writes "Is there a way to prevent the constraint message from popping up when a violation occurs? I would like to present either a javascript or a vbscript client message when these occur rather than allowing these error messages to occur because of the constraints since the user would not understand the real reason for the error. I would rather explain it myself to them in a popup window.

Isn't there a way of reassigning the constraint error message to a value and then checking for that @error value for the application before presenting a popup window to the user? If so, please demonstrate how this is accomplished.

Thanks

New_Phoenix"
   

- Advertisement -