Update fields in multiple response docs

Web Application. I would like to update multiple response docs once the status of the parent document is changed. @setdocfield works fine, but only for one response document… the rest of the response docs remain unchanged (I guess its not looping). Not very good at Lotusscript, but I think that’s my only option?