Message for Unique Key Violation

So I’m for the first time using the above-named under Application → Messages in a form.

To my alarm, its listing my database column names along with the custom message I want to display. If I remove it, the full ugly SQL message is displayed to the user a l ‘unique key violation…’.

Neither mumbo jumbo is desirable, is there any solution?

There are some macros to deal with sql errors:
sc_error_continue
sc_error_delete
sc_error_insert
sc_error_update

1 Like