Get(HostName)

Category: Get

Syntax: Get ( HostName )

Parameters: None

Data type returned: Text

Description:

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.

Examples:

If the computer is named "Maturin"

 Get(HostName)

results in Maturin.


: FileMaker Specifications

FileMaker 8 Product Line

Specifications and Storage Limits

Field Types and Import/Export Formats

: Calculation Functions

Working with Calculations Primer

Calculation Signatures

Calculation Functions

: Custom Functions

Custom Functions Primer

Useful Custom Functions

: Script Steps

Scripting Primer

Script Step Reference

: Quick Reference

FileMaker Error Codes

FileMaker Keyboard Shortcuts

FileMaker Network Ports

FileMaker Server Command Line Reference

FileMaker XML Reference

: Other Resources

Where to Go for More Information



FileMaker 8 Functions and Scripts Desk Reference
FileMaker 8 Functions and Scripts Desk Reference
ISBN: 0789735113
EAN: 2147483647
Year: 2004
Pages: 352

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net