How to get all response documents updated?

Dear all,I would like to seek advice on how to get all the response documents’ field updated once the parent document’s field is updated.

Please advice. Thanks

Subject: How to get all response documents updated?

set collection = document.responses

Set response = collection.GetFirstDocument

While Not response Is Nothing

success =  response.ComputeWithFormTrue,False)

If success Then

     Call response.Save(True,False,True)

End If

Set response = collection.GetNextDocument(response)

Wend

regards bernhard

Subject: RE: How to get all response documents updated?

AFAIK this solution won’t necessarily work, as computeWithForm will execute only default, translation and validation formulae. You may be better off reading the parent document field(s) and writing them directly to the response document field(s).

Subject: RE: How to get all response documents updated?

Ok, then put this in the postsave Code of the Parentdocument

set collection = parentdoc.responses

call collection.StampAll(Fieldname,Value)

regards Bernhard