BUG 8.5 in dialogbox with embedded view

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

  1. a text field named “Nom”

  2. a formula button which contains :

    Field Nom:=“TEST”;

  3. 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: In 8.5.1 dialogbox buttons don’t populate fields

Hi Pierre,

I tried it both with a form and subform in the dialogbox, but I have no embedded view and it also did not work.

In the button I have the following code:

@SetField(“action”,“New”);

@Command([RefreshParentNote] );

@Command( [CloseWindow] )

The already existing field action was never set, whether the field was visible or not.

The form consist of one table only …

Notes 8.5 FP1

Kind Regards,

Joe Herrmann

Subject: Double posting …

Double Posting …

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.

Kind Regards, Joe