Jump to content

How detect is file is being hosted by FM Server


This topic is 8067 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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 ]

Link to comment
Share on other sites

This is straight from the FMP help file – Sometimes it seems that no one ever bothers to read there! B)-) 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.

Link to comment
Share on other sites

This topic is 8067 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.