How to refresh the computed field in Doc?

Dear all,

How to refresh the computed field value in a NotesDocument. I tried to use Call doc.ComputeWithForm(False, True), and then saved the document. However the field value still the same until we open the document and change it to edit mode, then the field value will re-calculate.

Please advice. Thanks.

Subject: RE: How to refresh the computed field in Doc?

Generally speaking, what you have described is the correct approach.

Might it be that there is some LotusScript code on the form setting fields? That would not execute when you use ComputeWithForm.

If the above does not solve your problem, we need more information about what you’re doing. If you’re not sure what information to supply, the C R I S P Y document might help you.

  • Andre Guirard, IBM/Lotus Development

Useful blog: Best Practice Makes Perfect