Reference > Functions reference > Design functions
 

Design functions

Design functions return information about the structure of open database files. For example, you could determine the names of all the layouts or fields in an open database file.

Design function parameters can be any of the following:

filenames such as "Customer" or literal text such as "Jack"

layouts such as layoutName

other functions such as Left(text;number)

Notes 

FileMaker Pro Advanced limits the information returned by a design function, according to the privilege set in effect when the function evaluates a database file. See Creating and editing privilege sets for more information about granting access to database files.

For the fileName parameter:

The design functions return results for the first file opened with the specified filename.

If you specify a filename that contains a period, include the filename extension in the parameter. Otherwise, functions may interpret the period in the filename as the beginning of the filename extension, which can lead to unexpected results.

If you specify no filename (""), functions return results for the current file.

 

This function

Returns

DatabaseNames

A list of the names of all files open on the computer.

FieldBounds

The location, in points, of each field boundary and the field's rotation in degrees.

FieldComment

The specified field's comment.

FieldIDs

A list of all field IDs in fileName and layoutName.

FieldNames

A list of the names of all fields on layoutName in fileName.

FieldRepetitions

The number and orientation of repetitions of a repeating field as formatted on a layout.

FieldStyle

The field formatting applied to fieldName on layoutName in fileName.

FieldType

Information about fieldName.

GetNextSerialValue

The next serial number of fieldName in fileName.

LayoutIDs

A list of all layout IDs in fileName.

LayoutNames

A list of the names of all layouts in fileName.

LayoutObjectNames

A list of the names of all named objects on layoutName in fileName.

RelationInfo

A list of four values for each relationship directly related to tableName.

ScriptIDs

A list of all script IDs in fileName.

ScriptNames

A list of the names of all scripts in fileName.

TableIDs

A list of all table occurrence IDs in fileName.

TableNames

A list of all table occurrences in the relationships graph for fileName.

ValueListIDs

A list of all value list IDs in fileName.

ValueListItems

A list of the values in a value list.

ValueListNames

A list of the names of all value lists in fileName.

WindowNames

A list of the names of windows that are currently open.

Related topics 

About functions

About formulas