The FLDTYPE function returns the type of field pointed to by an index for a given record alias.
Category
Record
Syntax
*FLDTYPE(REC_ALIAS*, index)*
*FLDTYPE('<recname>' | variable *, index)*
Parameters and Descriptions
Parameter | Description |
---|---|
<recname> |
Resolves at runtime to a string and represent the record name used to locate the record alias in the description of the input datastore. |
index |
An index pointer to a given field within the specified record alias of the input datastore. |
Example
V_FIELD_TYPE = FLDTYPE(RECNAME(INPUT DATASTORE), V_COUNTER)