Returns an array of the field value in a form.
![]() | Removed since MetaScript 2.5 . |
Core function
Syntax
Field( field_name )
Parameters
Parameter | Description |
---|---|
field_name | A string representing the name of a field in a form. |
Description
Field is a top-level function and is not associated with any object.
You can use this function to obtain the current value of a form field.
Examples
Example 1: Retrieving field data. A field value can be obtain as follows:
Example 2: Determining null values in integer and decimal fields.
Example 3: Determining null values in character and memo fields.
Example 4: Determining null values in date fields.
Example 5: Determining null values in time fields.