Update computed fields

Hi All,

I have a computed field, where the value depending on “who is the user”. If I open the document, edit it and save, the field does not updates before saving it. I’m using this field in QuerySave for empty field validation (which field cannot be empty).

If I press F9, or add the UIDocument.Refresh to the QuerySave, the field is updated. I though that the computed fields are calculated before saving the document.

Can anybody explain this?

Regards, Attila