Open response problem

Hi all,

I have two forms, a parent and a response document. In my parent document I want an action to open his response (child). The parent can only have one child.

I created a view with two columns, first one @Text($Ref), second one @Text(@DocumentUniqueId).

In my parent form I get this values in fields via a dblookup.

So far, no problems. But I don’t know how I can open this response document. I tried:

@Command([OpenDocument];“0”;DocIDLookup_1)

DocIDLookup_1 is the field that has the UNID of the response. Unfortunately this action doesn’t work, the internet explorer doesn’t find the page.

Does anyone know what I might have done wrong?

Regards

Subject: found solution

Hi, Just after posting my problem, I found a solution. It’s a javascript behind my action.

var f = window.document.forms[0];

var respId = f[“DocIDLookup_1”].value;

var url;

url = “/DPCT_Demande.nsf/” + respId + “?OpenDocument”;

document.location=url;

Hope this might help someone one day.

Greetz