FT_FPLACE()
Write a new value to a field.
──────────────────────────────────────────────────────────────────────────────

Syntax

FT_FPLACE( <xVar>, <xVal> ) -> xVal

Arguments

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

Returns

<xVal>, the FT_FPLACE()d value. NIL if error.

Description

FT_FPLACE() writes a new value to a specified field of *ANY*
Clipper-valid type. In conjunction with the FIELDPLACE UDC
(in FT_FIELD.CH), it constitutes a fully capable alternative to
REPLACE.

Examples

xVal:= FT_FPLACE( "unit_prc", 15.73 )
xVal:= FT_FPLACE( 2, 15.73 )
- or -
nNum:= FT_FNUM( "unit_prc" )
xVal:= FT_FPLACE( nNum,15.73 )

Source: FIELD.PRG

Author: Steve Kolterman