Go to Contents
Previous
Page
Next
Page
Contents > Functions reference (alphabetical list) > Design functions > FieldStyle function

FieldStyle function
Format

FieldStyle(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.
Important   See Design functions for information about literal text parameters.
Data type returned
text
Description
Returns the field formatting applied to fieldName on layoutName in the fileName file. If the field has a value list associated with it, the FieldStyle function also returns the name of the value list.
A standard field returns Standard.
A standard field with a vertical scroll bar returns Scrolling.
A drop-down list returns Popuplist.
A pop-up menu returns Popupmenu.
A Checkbox returns Checkbox.
A Radio button returns RadioButton.
Example
On the Data Entry layout in the Customers database file, FieldStyle("Customers";"Data Entry";"Current Customer") returns RadioButton Yes/No List when the Current Customer field is formatted as a radio button and is associated with the value list named Yes/No List.
Related topics
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas

Contents > Functions reference (alphabetical list) > Design functions > FieldStyle function
Previous
Page
Next
Page