FT_FNUM()
Return a field's ordinal position given the field name.
──────────────────────────────────────────────────────────────────────────────

Syntax

FT_FNUM( <cVar> ) -> nNum

Arguments

<cVar> must be a valid field name.

Returns

the ordinal position of the field. 0, if a non-character value is
passed or field <xVar> does not exist.

Description

In 5.01, FT_FNUM() was superseded by FieldPos(). Included here for
those who already coded FT_FNUM() calls.

Examples

nNum:= FT_FNUM( "unit_prc" )

Source: FIELD.PRG

Author: Steve Kolterman