GetNextRecord (FastUnloadTask function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (UL Interface becomes SOUL Interface)
 
(3 intermediate revisions by 2 users not shown)
Line 3: Line 3:
This [[Notation conventions for methods#Callable functions|callable]]
This [[Notation conventions for methods#Callable functions|callable]]
method requests the next record from the <var class="product">[[Fast/Unload]]</var> task method object,
method requests the next record from the <var class="product">[[Fast/Unload]]</var> task method object,
and it returns the
and it returns the new state of that <var>FastUnloadTask</var> object as a <var>[[FastUnloadTask class#The FastUnloadTaskState enumeration|FastUnloadTaskState]]</var> enumeration value.
new state of that <var>FastUnloadTask</var> object as a <var>FastUnloadTaskState</var> enumeration
 
value.
==Syntax==
==Syntax==
{{Template:FastUnloadTask:GetNextRecord syntax}}
{{Template:FastUnloadTask:GetNextRecord syntax}}
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%fastUnloadTaskState</th>
<tr><th>%fastUnloadTaskState</th>
<td>A declared enumeration object of type <var>FastUnloadTaskState</var> to contain the state of <var class="term">fastUnloadTask</var> after <var>FastUnloadTask (GetNextRecord function)|GetNextRecord</var> retrieves the record from <var class="term">fastUnloadTask</var>.
<td>A declared enumeration object of type <var>FastUnloadTaskState</var> to contain the state of <var class="term">fastUnloadTask</var> after <var>GetNextRecord</var> retrieves the record from <var class="term">fastUnloadTask</var>.</td></tr>
</td></tr>
 
<tr><th>fastUnloadTask</th>
<tr><th>fastUnloadTask</th>
<td>An instantiated <var>FastUnloadTask</var> object variable.
<td>An instantiated <var>FastUnloadTask</var> object variable.</td></tr>
</td></tr></table>
</table>


==Usage notes==
==Usage notes==
<ul>
<li><var>GetNextRecord</var> can only be called when
<var class="term">fastUnloadTask</var> is in the <var>Started</var> or <var>HaveRecord</var> state.
If called in the <var>Done</var> state, the request is cancelled.</li>
</ul>


<var>GetNextRecord</var> can only be called when
<var class="term">fastUnloadTask</var> is in the <var>Started</var> or <var>HaveRecord</var> state.
If called in the <var>Done</var> state, the request is cancelled.
==See also==
==See also==
{{Template:FastUnloadTask:GetNextRecord footer}}
{{Template:FastUnloadTask:GetNextRecord footer}}
[[Category:Fast/Unload SOUL Interface]]

Latest revision as of 21:35, 16 March 2015

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