Result:-First - move the cursor to the first row
|
Calling Sequence
|
|
result:-First( opts )
|
|
Parameters
|
|
result
|
-
|
Result module
|
'opts
|
-
|
(optional) equation of the form before=boolean
|
|
|
|
|
Description
|
|
•
|
First moves the row cursor maintained within result to the first row of the table.
|
•
|
First accepts one optional argument.
|
|
If before is true, then the row cursor is moved to the row before the first row containing data, that is, the same location as when a Result module is created.
|
•
|
First returns true if the new row indicated by the cursor is a row containing data. When called with before=true, First always returns false.
|
|
|
Examples
|
|
Create a Result.
>
|
|
>
|
|
Move the row cursor.
>
|
|
Now call First.
>
|
|
| (1) |
First returned true so it is valid to read data from this row.
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
|
|
Download Help Document
Was this information helpful?