Problem with transfer value to field

Hi,I hale fallowing problem, On form I have field witch contain variable and embedded view, which contains several document.

When I open document from this embedded view I want to see in one of fields variable from the main form.

I tray use command:

@SetEnvironment(“Proc_ident_en”; “”);

@SetEnvironment(“Proc_ident_en”; Proc_view_ident )

On button in main form and next I use fallowing command

@Text(@Environment(“Proc_ident_en”));

in field on document from embedded view, but in this filed I don’t see variable from main form.

How solve this problem,

Could you pleas help me.

Thanks.

Subject: Problem with transfer value to field.

Go into the embedded view’s QueryOpenDocument event and see if you can use notesuiworkpace.currentdocument to read fields from the main form. Under certain circumstances, I do not remember just what, you can read field values on the main form from within an (embedded view? or) embedded editor.

Try the same thing from the secondary form’s QueryOpen event.

A variation on this idea: try opening the secondary documents in an embedded editor instead of in a new window, and see if you can read the main form from there. In this case, try reading notesuiworkspace.currentdocument (not Source!) from the secondary form’s PostOpen. I believe this one works. Not so sure about the other ones.