Making @Urlopen() Work on Any Server
Use this format if you want to open a form on the Web regardless of whereever the database might be located. It automatically reads the "server" name it is mounted on and even if you move the database or create a replica copy you need not worry about the path to the related "server".
"const" is a constant you are getting your server name equivalent to & is used in "@Implode(const)" to create path from inside the database.
const:=@Name([CN];@Subset(@DbName;1));
@URLOpen("http://"+@Implode(const)+"/directory/x.nsf/formA?OpenForm")
Start the conversation
0 comments