GetNextRecord (FastUnloadTask function): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
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>[[FastUnloadTask (GetNextRecord function)|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> | |||
<var>GetNextRecord</var> can only be called when | <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. | <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. | If called in the <var>Done</var> state, the request is cancelled. | ||
</ul> | |||
==See also== | ==See also== | ||
{{Template:FastUnloadTask:GetNextRecord footer}} | {{Template:FastUnloadTask:GetNextRecord footer}} | ||
[[Category:Fast/Unload User Language Interface]] | [[Category:Fast/Unload User Language Interface]] |
Revision as of 21:17, 15 November 2012
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.