Are there in Java Script commends like @ServerName and @DbName? How can I get server name and name of actual database in JavaScript?
Subject: Server&database name in Java Script
Not directly but you can set Javascript variables by using computed text…
e.g.
var server=“”;
and in the formula box for the computed text put something like @Subset(@DBName;-1).
Subject: RE: Server&database name in Java Script
…and the more observant among you will have noticed that that formula would give you the database name and not the server name. Sorry, one of those days… ![]()