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

AVEVA™ Plant SCADA

FmtGetField

  • Last UpdatedJul 18, 2023
  • 1 minute read

Gets field data from a format template. Use this function to extract data after a call to StrToFmt().

Syntax

FmtGetField(hFmt, sName)

hFmt:

The format template handle, returned from the FmtOpen() function. The handle identifies the table where data on the associated format template is stored.

sName:

The field name.

Return Value

The data (as a string). If the field does not contain any data, an empty string will be returned.

StrToFmt, FmtOpen, FmtSetField, FmtToStr

Example


StrToFmt(hFmt,"CV101 Raw Coal Conveyor");
Str=FmtGetField(hFmt,"Name");
! Str will contain "CV101".

See Also

Format Functions

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