GetNextRecord (FastUnloadTask function)

From m204wiki
Jump to navigation Jump to search

Get next record from Fast/Unload (FastUnloadTask class)


This callable method requests the next record from the Fast/Unload task method object, and it returns the new state of that FastUnloadTask object as a FastUnloadTaskState enumeration value.

Syntax

[%fastUnloadTaskState =] fastUnloadTask:GetNextRecord

Syntax terms

%fastUnloadTaskState A declared enumeration object of type FastUnloadTaskState to contain the state of fastUnloadTask after GetNextRecord retrieves the record from fastUnloadTask.
fastUnloadTask An instantiated FastUnloadTask object variable.

Usage notes

  • GetNextRecord can only be called when fastUnloadTask is in the Started or HaveRecord state. If called in the Done state, the request is cancelled.

See also