Dialogbox inheriting underlying field values

Hello,

I hope this isn’ too dumb a question. I have tried a lot of things and looked at help but can’t work it out.

I am selecting a document in an embedded view then opening a dialogbox in Lotus Script. The dialogbox uses a form with a layout region. The layout region has fields on it that have the same name as those in the form of the document I have selected, are computed and have the field name as the formula. The form used for the dialog box also has “formulas inherit values…” selected.

WHen I open the dialogbox, the values do not appear on the form.

All the boolean vales are correctly set to enable transfer of data between documents.

Can anyone help? Is it the case that because I have launched this from Script, it won’t inherit values?

Many thanks in advance.

Subject: Dialogbox inheriting underlying field values

Inheritance only works on compose. If you had opened the form in a new window, you would get inheritance. If you want to create a new document using a dialogbox, you have to create the document in the back-end first, then dialog it. Thus, the document is never composed – you are editing a document that already exists. If you want the document to “inherit” the values of the selected document, you’ll need to set the values in your script.