openForm in notes client to create response document

Hi,

I’m trying to use this from a button inside a document to create a response document both notes client and web browser:

window.open(‘/MyAgenda.nsf/fTarea?OpenForm&ParentUNID=’ + document.forms[0].id.value, ‘newWindow’, ‘width=490,height=480,toolbars=0,status=0,scrollbars=0,resize=0,menubar=0’);

fTarea is the response document.

The problem occurs in notes client: “No document is selected; please select a document to respond to”

The fields that inherit values from parent document have “@thisValue” formula.

What I’m doing wrong?