User manual

Table Of Contents
For example, LayoutNames (“Clients”) always returns the
names of the layouts in the Clients file. If you have a field named File,
LayoutNames (File) returns the names of the layouts in the Clients
file when you type Clients in the File field.
Syntax Definition
DatabaseNames Returns the names of the currently opened
databases. (Uses no parameters.)
FieldBounds (database name, Returns the location and size of a specified
layout name, field name) field.
FieldNames (database name, Returns the names of fields in the database
layout name) and layout you specify. Or, type two quotes
("") in place of a layout name to return the
names of all fields in the specified database.
FieldRepetitions (database Returns the number of repetitions and
name, layout name, field name) orientation of a specified repeating field.
FieldStyle (database name, Returns:
layout name, field name)
1 how a specified field is formatted on a
layout (for example, as radio buttons)
1 whether a value list is associated with the
field.
FieldType (database name, Returns the field definition for a specified
field name) field.
LayoutNames (database name) Returns the names of layouts in a specified
database file.
RelationInfo (database name, Returns the name of the related file for a
relationship name) specified relationship.
RelationNames (database Returns the relationships defined in a
name) specified database file.
ScriptNames (database name) Returns the scripts defined in a specified
database file.
ValueListItems (database Returns the values defined for a specified
name, value list name) value list.
ValueListNames (database Returns the value lists defined in a specified
name) database file.
Using formulas and functions 11-13
External functions
Use external functions to access FileMaker Pro plug-ins such as
FileMaker Pro Web Companion. Plug-ins add features to
FileMaker Pro. For more information, see “Setting up plug-ins” on
page 12-4.
Enabled plug-ins that support external functions appear in the list of
functions in the Specify Calculation dialog box (when you choose
View External functions or View all by type from the list). If there are no
plug-ins enabled, or the ones enabled do not support external
functions, you see only the generic external function definition:
External (name, parameter).
FileMaker Pro Web Companion external functions
When you publish a database using FileMaker Pro Web Companion,
use FileMaker Pro Web Companion external functions to:
check the version of the Web companion
capture information about visitors to your database
translate information in your database to HTML or HTTP
Note The following functions are only available if FileMaker Pro
Web Companion is installed and enabled on your computer. See
chapter 14 for more information about the Web Companion.
If third-party plug-ins are enabled, other external functions might
also appear.
Syntax Definition
External ("Web-Version", 0) Returns the version of FileMaker Pro Web
Companion that loads when you open
FileMaker Pro
External ("Web- Returns the domain name (for example,
ClientAddress", 0) www.filemaker.com) of a Web user whose HTTP
request is currently being processed by
FileMaker Pro Web Companion. Returns the Web
user’s IP address if the domain name is not available.