How do you synchronize fields between documents created with two different forms?
In the 1st form, named "FORM1", create a computed field named FORM1_DocID. The FORM1_DocID field should be computed when composed and have this for the formula:
@Text(@DocumentUniqueID)
For the documents created by the 2nd form, named "FORM2", you have to inherit and reference this FORM1_DocID value. To push information from Form2 to the document related by FORM1_DocID, you can put this your "Save & Exit" button of FOMR2:
@SetDocField(FORM1_DocID;"form1_field1";form2_field1);
@SetDocField(FORM1_DocID;"form1_field2";form2_field2);
...
@Command([FileSave]);
@Command([FileCloseWindow])
Applies to Notes Versions: 4 4.5 4.6 5