Home > Contents > Index > 
GOTOROW
Sets the current row in a list to a specific row.
Syntax
<GOTOROW LIST="LIST_NAME"
ROWNUM="NUMBER"/>Parameters
LIST (required)- Name of list.
ROWNUM (required)- Row number to set as current row.
Description
The
GOTOROWtag sets the current row in a list to a specific row. The system generates runtime errors if the value ofROWNUMis not an integer. Values beyond the range of the list also yield an error.The column values of the current row can be obtained using the syntax,
List.colnamewhereListis the name of the list andcolnameis the name of the column in the list.
Note
In the case of StringLists, the values can be obtained by using List.Item.
You can use the following attributes to return information about the list using the syntax,
List.attname, whereattnamecan be one of the following attributes:
#numRows#curRow#moreRows#numCols@<colname>url".For example,
MyList.#numRowsreturns the number of rows in the listMyList.MyList.@urlheaderretrieves the contents of the file specified by the column urlheader.The value of a list is maintained during the processing of a page request. If the list contains a resultset, the resultset is maintained independently of a list that uses it.
Error Numbers
The possible values of
errnoinclude:
Example
This example moves the list,
SysList, to row 3. The value oftblnamefor row 3 is then displayed.<SELECTTO FROM="SystemInfo" WHAT="*" LIST="SysList" /> <GOTOROW LIST="SysList" ROWNUM="3"/> <CSVAR NAME="SysList.tblname"/>See Also
Home > Contents > Index > 
Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.