Servername and dbname in url

I have a categorized view on web. Clicking a link on the page changes the subcategory which I use in the view.

This is the url I use on the link:

DBname:= @ReplaceSubstring(@Subset(@DbName; -1); " " : “\”; “+” : “/”);

DBname+ “Short?OpenView&omr=A”

My problem is to get the url correct.

Hitting this url opens this:

http://servername/folder/db.nsf/folder/db.nsf/Short?OpenView&omr=A

inted of this

http://servername/folder/db.nsf/Short?OpenView&omr=A

As you can see the servername and dbname is repeated…

Subject: “/” + DBname+ “Short?OpenView&omr=A”

Subject: Also read about @WebDBName function

Subject: Thanks…

I’m ashamed … that was simple…