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 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.
Function | Purpose |
---|---|
Returns a list of all base table IDs in fileName. |
|
Returns a list of all base table names in fileName. |
|
Returns a list of the names of all files open on the computer. |
|
Returns the location, in points, of each field boundary and the field's rotation in degrees. |
|
Returns the specified field's comment. |
|
Returns a list of all field IDs in fileName and layoutName. |
|
Returns a list of the names of all fields on layoutName in fileName. |
|
Returns the number and orientation of repetitions of a repeating field as formatted on a layout. |
|
Returns the field formatting applied to fieldName on layoutName in fileName. |
|
Returns information about fieldName. |
|
Returns the next serial number of fieldName in fileName. |
|
Returns a list of all layout IDs in fileName. |
|
Returns a list of the names of all layouts in fileName. |
|
Returns a list of the names of all named objects on layoutName in fileName. |
|
Returns a list of four values for each relationship directly related to tableName. |
|
Returns a list of all script IDs in fileName. |
|
Returns a list of the names of all scripts in fileName. |
|
Returns a list of all table occurrence IDs in fileName. |
|
Returns a list of all table occurrences in the relationships graph for fileName. |
|
Returns a list of all value list IDs in fileName. |
|
Returns a list of the values in a value list. |
|
Returns a list of the names of all value lists in fileName. |
|
Returns a list of the names of windows that are currently open. |