Returns the specified field definition, if it exists on the FormDef. Otherwise, the method returns NULL.
[ReturnValue =] Object.GetFieldDefByName(FieldName,Index)
|
Part |
Data type |
Description |
|
Object |
Object |
An object expression that evaluates to an object in the Applies To list. |
|
FieldName |
String |
Specify the name of field definition you are looking for. |
|
Index |
Integer |
If the field is indexed the index (>= 1) must be specified as well. Use 0 for non-indexed fields. |
Data type: FieldDef (Object). If the specified field definition exists on the FormDef, the return value is that field. If it is not found, NULL is returned.
Field definition names are case-sensitive in FORMS.