Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Plant SCADA

FmtSetFieldHnd

  • Last UpdatedJul 18, 2023
  • 1 minute read

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.

FmtFieldHnd, FmtToStr, FmtSetField, FmtOpen

Example

hField=FmtFieldHnd(hFmt,"Name");
FmtSetFieldHnd(hFmt,hField,"CV101");

See Also

Format Functions

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in