Retrieving the server name

Hi. I just stumbled over this. There has been some questions over the years of how to retrieve the server name. In version 3.01 and later there’s a function named CONTEXTURL which can be used for this. //Lars This is from the C/SIDE help: CONTEXTURL Use this function to return a context string that defines the current position of the running objects. String:=CONTEXTURL String Data type: text or code Example Here are two examples of a context string: navision://client/run?database=filename&company=companyname navision://client/run?server=servername&company=companyname&servertype=MSSQL