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 ScheduleConfigOpen 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.
Related Functions
SchdConfigOpen,SchdConfigClose, SchdConfigFirst,SchdConfigNext,SchdConfigPrev, SchdConfigNumRecords,SchdOpen, SchdClose, SchdFirst,SchdNext, SchdPrev,SchdGetField, SchdNumRecords, ScheduleItemAdd, ScheduleItemSetRepeat, ScheduleItemModify, ScheduleItemDelete
Example
TIMESTAMP tsStart = StrToTimestamp(SchdConfigGetFiel(hSession, "Start"),15,0);
TIMESTAMP tsEnd = StrToTimestamp(SchdConfigGetFiel(hSession, "End"),15,0);
See Also
Published June 2018