用lotusscript的notesUIWorkspace.DialogBox,看看它的注释
Sharing of field values
This method displays the current or specified document using a different form. This means:
If the form has field names in common with the document, the field values of the document are displayed in the dialog box.
If the user changes the value of any fields in the dialog box and clicks OK, the changes are reflected in the same fields on the document.
If the user enters a value for a field in the dialog box, and the document does not contain a field by that name, the value is added to the document, even if it is not displayed in the form, unless noNewFields is True.