Functions Reference

Table Of Contents
Chapter 4
|
Design functions 41
FieldStyle
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, page 35 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.
FieldType
Format
FieldType(fileName;fieldName)
Parameters
fileName - the name of an open database file (local or remote).
fieldName - the name of a field
in the specified database file.