Database errors catch

Hi,
I have a simple application that inserts data into a database table through a form attached to an action server.
The problem is that even when a db error happens the form always returns as a successful operation.

My question is how to capture the db errors in a way that the form doesn’t end successfully to tat I can notify the user.

Thanks for any help.
insert2

Community Page
Last updated: