Assigning of parameter to agent doesn't work

I’ve a web form with 2 button because of different functions. Both button are calling different LS Agents.

The button itself works but always the parameter OpenAgent is missed and therefore Domino doesn’t understand the call.

Here is my script code of button 1:

document.FormName.action="/" + @WebDbName + "/AgentName1?OpenAgent&Parameter1"

The result on the Domino server shows me this:

HTTP Web Server: Unknown Command Exception

[/Path/AgentName1?Parameter1]

I’ve no clue why? Any ideas?

Subject: SOLVED

sorry to bother. made just a typo at another stage… now it works as expected.