Hello I am using Notes 7 and I would like to open./edit the just saved document in lotusscript agent, this agent is being called from views action button. call reportdoc.save(1,0) call ws.editdocument(false, reportdoc, false) I am able to open document but instead of opening saved document it opens the first document of view, I am not sure what is causing problem here.