I have a form which contains an embedded view. This form will only be used from the Notes client.
-
The user creates a document with this form, clicking a button which launches a subform that allows the user to select start and end dates.
-
The dates are passed to the document, and a folder embedded within the document displays (a different type of) documents which contain a date on or between the dates specified in the subform.
What I want to happen:
As the user selects documents from the embedded folder by clicking in the selection column (creating checkmarks), I want another field on the main form automatically populated with information from the selected document.
I have spent days trying different methods, including getting the unid of the main document and storing it in a profile document, using the postopen event (suggested in this forum and it works), and then using the queryopen event in the folder itself, setting the notesDocumentCollection to notesUIView.Documents, and then cycling through the documents to grab the information I want for the specific field. I’m getting ‘error 0 on line 0’ for that code.
Of course then I will need a way to populate the field, and to keep it up to date with any changes to the selections (i.e. more selections, or deselections).
I have tried reviewing Escape Velocity and Interface Matters, as well as anything else on the web I could find, but can’t seem to get this working.
Any suggestions regarding how I could accomplish this would be much appreciated.