Updating parent doc in notes client

i have a notes client db that contains a main form. when a user opens a parent document based on the main form, a script in the queryopen event runs, reading values from all of it’s response documents and updates a rich text field.

my problem lies in getting the same update to run when saving a new child document.

the user clicks an action button on the parent to open the child document;

@Command ( [Compose]; “” : “”; “child” )

the child document opens, with the parent still in the background. the user adds their data and then clicks the save & close action.

@Command ( [FileSave] );

@Command ( [FileClosewindow] );

the user is then returned to the parent which is in the same state they left it when opening the new child document.

how can i have the parent document update so that it reflects the new data just added without the user having to close the document and reopen it?

i’ve read threads explaining various solutions but nothing seems to work. i even tried closing the parent when the child opens but all that happens is the child window opens and closes immediately. perhaps i’m not looking at this the right way … any suggestions?

Subject: updating parent doc in notes client

What I would do in your case is to use the QueryClose event in the child to do something like:

Set parentdoc = parentuidoc.Document

call parentuidoc.close

Set parentuidoc = ws.EditDocument(False, parentdoc, True)

Regards,

Roch