The field management API gives programmatic access to configured fields. A field can be referenced in a number of ways, these functions provide ways to access and map between them.
A field contains:
- field name. This is a text string
- field number. This is an integer between -65535 and 65535
dsfield.namebynum |
( |
var |
fieldnumber | ) |
|
Return the field name of this field number.
- Parameters
-
fieldnumber | - The field number |
- Return values
-
Field | name |
nil | - if there is no mapping for this fieldnumber |
dsfield.numbyname |
( |
var |
fieldname | ) |
|
Return the field number of this field.
- Parameters
-
- Returns
- Field number
- Return values
-
nil | - if the fieldname is not known |