Hi,
I’ve the next problem: I have a form app with a field called id_cc that is created as a select field. This select field has a default value for not set id, (null). When I update the form by keeping the id_cc as the default value, it tries to insert as 0, so it fails due the constrain in database. I’ve forced in the onBeforeUpdate, onBeforeInsert and onValidate to be null but still doesn’t works, always tries to insert as 0, so the query fails with the appropiate error message.
if({id_cc}=='0')
{id_cc} = NULL;
How can force the value to be null?