Why don't you validate data on front end to avoid the error?
Why do you refresh the form instead of handling the error?
>
>I have defined some constraints on the FireBird backend database. On violation the form looses all the data and goes into a blank state as the remote view is probably blanked. I am using CodeBook as the framework. The following is the message that I get for a Unique Key violation
>
>violation of PRIMARY or UNIQUE KEY constraint "UNQ_MLOOKUPS_CATEGORY" on table "MLOOKUPS"
>
>Can I handle this more gracefully?
--sb--