If you are using a TOracleDataSet then you can use the TOracleSession.MessageTable property to provide user-friendly messages for constraint violations. The TOracleDataSet.OracleDictionary.UseMessageTable property must be set to True. See the help file for more details and examples.
------------------
Marco Kalter
Allround Automations