FT_FVALLEN()
Return the length of the value in a field.
──────────────────────────────────────────────────────────────────────────────

Syntax

FT_FVALLEN( <xVar> ) -> nVlen

Arguments

<xVar> is either a field name or ordinal .DBF position.

Returns

the length of the value in a specified field. -1 if error.

Description

FT_FVALLEN() reports the length of the value in any .DBF field.

Examples

nVallen:= FT_FVALLEN("unit_prc")
nVallen:= FT_FVALLEN( 2 )
- or -
nNum:= FT_FNUM( "unit_prc" )
nVallen:= FT_FVALLEN( nNum )

Source: FIELD.PRG

Author: Steve Kolterman