Response Doc - Making a Child to a Parent in the Background

Author: Tripp W Black

Created: 08/26/1999 at 07:51 PM

 

Category:
Notes Developer Tips
LotusScript, Parent/Child Documents

Subject: RE: Create response documents in the background


Message Content:
use the MakeResonse method on the document. i.e.

'get Doc as the parent Document...

Set ChildDoc=New NotesDocument(DB)
ChildDoc.Form="MyFormName"
ChildDoc.Field1="Somedata"
Call ChildDoc.MakeResponse(Doc) 'Doc is the parent document
Call ChildDoc.Save(False, False)

HTH,


previous page