Bug in 8.5 (not in 7.2 and before) :If a subform is displayed in a dialogbox and contains an embedded view, you can’t populate fields with a button (Field xxx:=“jhgjhg”).
Steps to reproduce :
On a view, we have an action which open a subform in dialogbox.
The subform contains
a text field named “Nom”
a formula button which contains :
Field Nom:=“TEST”;
a embedded view
Launch it within a view with a button :
@DialogBox(“SM TEST”;“TEST”);
When you click on the button :
in 7.2 and others : field is populated
in 8.5 : NOTHING !
The original was more sophisticated, but any way it always doesn’t work.
Suppress the embedded view, it works in both versions…
We need a solution (we you it for our customers and most of them are now in 8.5)
Subject: 8.5.1 Dialogbox has limited formula evaluation
In a form that I used in a Dialogbox, which was called via Lotusscript, the following code is only executed once in the computed field ‘options’:
@if(c_status=“1”;“Create”;
c_status="2";"Accept:"Decline";
"Done")
c_status is a field of the form.
If one calls the dialogbox another time with the same document, but another value in c_status, the above formula is not executed again; the computed field keeps its old value.
One can only force a recalculation if one removes the field ‘options’ from the document before one calls the dialogbox again. This does not fit to the usual behavior of Notes forms in such a case.