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

AVEVA™ Plant SCADA

SchdGetField

  • Last UpdatedJul 18, 2023
  • 1 minute read

The SchdGetField function returns the value of the particular field in a record to which the data browse cursor is currently referencing.

Syntax

STRING SchdGetField(LONG Session, STRING Field)

Session:

The handle to a browse session previously returned by the SchdOpen call.

Field:

Specifies via a comma delimited string the columns to be returned during the browse. An empty string indicates that the server will return every available column. See SchdOpen for supported fields.

Return Value

The value of the specified field as a string. An empty string may or may not be an indication that an error has been detected. The last error should be checked in this instance to determine if an error has actually occurred.

SchdClose, SchdConfigOpen, SchdConfigClose, SchdConfigFirst, SchdConfigNext, SchdConfigPrev, SchdConfigGetField, SchdConfigNumRecords, SchdOpen, SchdFirst, SchdNext, SchdPrev, SchdNumRecords, ScheduleItemAdd, ScheduleItemSetRepeat, ScheduleItemModify, ScheduleItemDelete

Example

TIMESTAMP tsStart = StrToTimestamp(SchdGetField(hSession, "Start"),15,0);

TIMESTAMP tsEnd = StrToTimestamp(SchdGetField(hSession, "End"),15,0);

See Also

Scheduler Functions

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