field_seq

Returns the field sequence number.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X      

Syntax

int field_seq(field-name | field-num[,list])
ident         field-name
expr          field-num
keyword       list

Description

field-name (optional) specifies the field by name.

field-num (optional) specifies the field by sequence number.

list (optional) specifies that only those fields with the LIST attribute are used to determine the field's sequence number.

Example

Changes the field flow based on the current data:
{
.
if (salary > 15000) af = field_seq(decrease_field);
else                af = field_seq(increase_field);
.
}