DerStephan
Programmer
Hallo again
Ok I have a page in my web-aplication and on this page I have an action button that computes and calls an URL:
It works fine, well not realy
the only problem is @DbName
It's computet on server side, so for the server the server is localhost and @DbName gives me a NULL-String for the server name, but how to get the right name of the server?
It can't be that difficult.... I hope
Thanks in advance
Stephan
Ok I have a page in my web-aplication and on this page I have an action button that computes and calls an URL:
Code:
database := @ReplaceSubstring(@Subset(@DbName; -1);"\\";"/");
server := @Name([CN]; @Subset(@DbName; 1));
url:="[URL unfurl="true"]http://"+server+"/"+database+"/all/$searchForm?SearchView";[/URL]
url
It works fine, well not realy
the only problem is @DbName
It's computet on server side, so for the server the server is localhost and @DbName gives me a NULL-String for the server name, but how to get the right name of the server?
It can't be that difficult.... I hope
Thanks in advance
Stephan