Is there any way to move a response document to a new parent in LScript

Subject: Is there any way to move a response document to a new parent in LScript

Subject: Yes

First, you should have searched designer help before posting here.

So this is a freebie:

Get a handle on the current response document (respDoc)

Get a handle on the new Parent (newParent)

Call respDoc.Makeresponse(newParent)

Subject: try this…might work

say docA is your response and doc is the document you want to link this to.then docA.MakeResponse(doc). Could work…try and let me know…Doubt if we have to unlink from the previous parent…