Oracle® Fusion Middleware Idoc Script Reference Guide 11g Release 1 (11.1.1) E10726-01 |
|
![]() Previous |
![]() Next |
Home > Idoc Script Reference Guide > Management and Configuratio... > rsAddRowCountColumn
This function adds a new field whose value for each row is the row count for that row. The count starts at 0. This function is useful to use just before using rsSort(...)
on XML data island ResultSets (inside .hcsp files) so that the original row location can be preserved.
Type and Usage
Parameters
Takes two parameters:
The first parameter is the name of ResultSet to be modified so that it has an new row count column.
The second parameter is the name of the field that will hold the row count.
Output
Returns TRUE if the function is successful.
Returns FALSE if the function fails.
Example
<$rsAddRowCountColumn(rsName, countFieldName)$>