FmtSetFieldHnd
The fields, you can build the formatted string with the FmtToStr() function. This function has the same effect as FmtSetField() except that you use a field handle instead of the field name.
Syntax
FmtSetFieldHnd(hFmt, hField, Data)
hFmt:
The format template handle, returned from the FmtOpen() function. The handle identifies the table where all data on the associated format template is stored.
hField:
The field handle.
Data:
Field data.
Return Value
0 (zero) if successful, otherwise an error is returned.
Related Functions
FmtFieldHnd, FmtToStr, FmtSetField
Example
hField=FmtFieldHnd(hFmt,"Name");
FmtSetFieldHnd(hFmt,hField,"CV101");
See Also