Category: Get

Syntax: Get ( HostName )

Parameters: None

Data type returned: Text


Returns the registered name of the computer hosting the database file.

To change the registered name on a computer:

On Windows, the computer name is found on the Network Identification tab of the System Properties control panel. The Full Computer Name option displays the current registered name.

On Mac OS, the computer name is found within System Preferences, under the Sharing settings.

If a client connects to a file hosted by FileMaker Server, Get (HostName) returns the name of the server. The host name can be configured with the Server Administration tool. By default, FileMaker Server uses the system's name, but a custom name can be supplied instead.

We find it helpful in our practice to place a Get(HostName) display on a prominent layout within our solutions so that we can see during development whether or not we're working on a live version, a development version, or a scratch file on our local laptops.


If the computer is named "Maturin"


results in Maturin.

FileMaker 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352
Simiral book on Amazon © 2008-2017.
If you may any questions please contact us: