poIQueryIterator First
Positions the iterator to the first result item.
Syntax
poIQueryIterator_handle First
Application
HyperView Tcl Modify
Description
This command positions the iterator to the first result item.
Example
To populate a list with the results of a query control
handle:
myQueryName GetIteratorHandle myIteratorName
myIteratorName First
while { [myIteratorName Valid] == "true" } {
lappend myList [myIteratorName GetDataList]
myIteratorName Next }
Errors
Returns 0 if successful, or an error code (HW_Error (1)).