Reference > Functions reference > Design functions > FieldBounds
 

FieldBounds

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

Format 

FieldBounds ( fileName ; layoutName ; fieldName )

Parameters 

fileName - the name of an open database file (local or remote).

layoutName - the name of a layout in the specified database file.

fieldName - the name of a field on the specified layout.

Data type returned 

text

Originated in 

FileMaker Pro 6.0 or earlier

Description 

The location returned is measured from the top-left corner of the layout (regardless of printer margins) and is specified in this order: position of left field boundary, position of top field boundary, position of right field boundary, position of bottom field boundary, degree of rotation (measured in a counter-clockwise direction; 0 degrees for unrotated).

Notes 

Your layout begins where your margins end. Because field boundaries are measured from the left side and top of the layout, boundaries returned by FieldBounds never change unless you move or re-size a field.

Example 1 

FieldBounds ( "Customers" ; "Layout #1" ; "Field" ) returns 36 48 295 65 0 in the example below. Notice that all parameters are enclosed in quotation marks.

Field boundary example

Related topics 

Functions reference (category list)

Functions reference (alphabetical list)

About formulas

About functions

Defining calculation fields

Using operators in formulas