Hello Roberto,
The message you're seeing is based on checking GETFLDSTATE() and that function has no way of knowing whether the field was changed by the program or an end user.
I think the question here is whether you care to have your default value saved if the user doesn't alter anything.
If you do, issue a BizObj.Save() after setting the default value. If not, you can check GETFLDSTATE() in the form's close and issue a BizObj.Cancel() if nothing else has been changed.
Hope that helps,
---J
>I assigned a default value to a view's field. Now every time a user try to close my cBizObjNoListMaintForm (that uses that OB' view) a "Do you want to save your changes first?" message comes up. And that's confusing for users since this happen when user did not change anything.
>Is there any way to change this behavior in such a way that this message is shown only if user do change a field's value (interactively)?
>Thanks