March 17, 200223 yr Use the Status( CurrentMultiUserStatus ) function. This function will return a 0 if the file is being used as a single user file, 1 if the file is being hosted from the current computer, and 2 if the file is being used as the guest of another computer (including FM Server). Chuck [ March 16, 2002, 04:34 PM: Message edited by: Chuck ]
March 19, 200223 yr This is straight from the FMP help file – Sometimes it seems that no one ever bothers to read there! -) LOL ---------------------- Status (CurrentHostName) Parameters None Data type returned text Description Returns the registered name of the computer that is hosting the file from which the script is being run. Example Status (CurrentHostName) returns Fred Jones when Fred Jones is registered as the host for the computer in use.
Create an account or sign in to comment