There is no "server parameter" - either the db is on the server or it is local.
Let me put it this way : by using color blue]WkServer:=@subset(@DbName;-1)[/color], you will get the name of the server the database is located at (which means "" if the db is on the client drive).
If you are trying to force the server-based db to search for data in the local replica, you are in for a bad surprise. The server does not understand what Local is - it will look for a server named Local.
The server cannot query for data on a local drive. But as far as the integrity of the code is concerned, you do not need to worry : the correct server name will be retrieved and the code will continue to execute whether the db is located on a server or not.
Does this help you ?
Pascal.