Formulas inherit values from selected document...inconsistent in v8.0.1 Standard

Newly created doc with “Formulas inherit values from selected document”, is not inheriting field values.

SCENARIO:

The user clicks an action button which closes one document and creates another.

The newly created document has the following option clicked: “Formulas inherit values from selected document”.

Below is the code that closes the first document and creates the second:

    @do(

            @PostedCommand([Compose];"formname");

            @PostedCommand([FileCloseWindow]) 

    )

    This code is located in an action button.

RESULTS:

-works fine in versions 5,6,7.

-works fine in version 8.0.1 Basic.

-However, it is inconsistent in version 8.0.1 standard.  

  For 1 user with 8.0.1 Standard, the field values are always inherited.  

  For 2 users with 8.0.1 Standard, the field values are never inherited.



When I remove the @PostedCommand([FileCloseWindow]), the code works for all users (works meaning the field values are inherited by the newly created document.)

I don’t know why it works for 1 user with 8.0.1 Standard but not for the others.

Are there any known problems with inheritance in version 8.0.1?

Is there a change in the execution order of the @PostedCommand?

Is there information about how this option actually works? Does this option depend on certain drivers or require certain permissions? It all happens behind the scene, so there is no real way to debug.

Is there something else, something that I have failed to consider?

Any help would be greatly appreciated.

Thank You

Tony

Subject: same problem here with 8.0.1_NL1 FR

Hi,

i’ve just realized that i got the same bug here with a version 8.0.1 NL1 in french.

here is the code:

@postedCommand([Compose]; “”; @Prompt([OkCancelList]; “Choix d’un type de document”; “Sélectionnez le type de document que vous voulez créer”; “”; “Courrier”:“Fax”:“Autres”));

and the result in 8.0.1 is that fields value are not herited.

works well with a 8.0 NL1 FR.

do not know what to do…

edit:

like you, i’ve deleted the line @PostedCommand([FileCloseWindow]); wich was Before my compose and the new doc inherit of the field of the first doc.

very strange.