Tip: Misbehaviour with fixed form header: Form actions with computed labels are evaluating wrong when using values of "computed for display" fields

You create a form in designer and provide it with a fixed form header (under the header tab of the form properties box).

Also you add actions in the action pane which label texts are computed using “computed for display” fields of the form in their formulas.

When refreshing the document all “computed for display” fields are being removed from the document in memory (check out the fields’ list in the document properties box while in edit mode before and after two refresh cycles).

After the second refresh cycle the actions’ texts are wrong because of missing field values.

This misbehaviour doesn’t occur if the document is being displayed in a frame of a frameset (because the fixed header of the form seems not to work in this place) or if the form doesn’t have a fixed header.

In addition all fields refering to “computed for display” fields placed in the defined fixed header area are having wrong results in their formulas after refreshing the document.

To correct this problem move the “computed for display” fields out of the fixed header area.

Removing the defined fixed header in designer causes the form to behave as expected in all cases.

If you need to define a fixed form header without loosing your action label texts you can switch your “computed for display” fields to “computed”.

Subject: Bug is also in 5.0.11

Gotta love Google.

I had this problem and was stumped. I tried entering “Computed for Display Lotus Notes problem” into Google and your post was first on the list.

Thanks very much Carsten!

Subject: RE: Bug is also in 5.0.11

You are welcome, John.I enjoyed that I could give you a solution to your problem.

Have a good time.

Carsten

Subject: Tip: Misbehaviour with fixed form header: Form actions with computed labels are evaluating wrong when using values of “computed for display” fields

This is still broken

There is another solution if you don’t want all of your big long cfd reference fields to be saved (as they would be if replaced with Computed fields)

I have copied all the important ones as CFD fields BELOW the header

This is REALLY shoddy though, and should NOT have got through IBM’s QA