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

AVEVA™ Plant SCADA

SchdConfigGetField

  • Last UpdatedJul 18, 2023
  • 1 minute read

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

Syntax

STRING SchdConfigGetField(LONG Session, STRING Field )

Session:

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

Field

A field to retrieve. Refer to SchdConfigOpen for detailed list of 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(SchdConfigGetFiel(hSession, "Start"),15,0);

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

See Also

Scheduler Functions

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