Hi,
I have following code in OnValidate event in a form
if ({txtassetcategory} = ‘0000’)
{
sc_error_message(“asset category cannot be empty”);
sc_error_exit();
}
when an error occurs the form switches to edit mode and empty all other fields values instead of remaining on the same insert mode !
any idea how to fix it ?
cheers