Renames a ResultSet.

If you use a variable to define the new ResultSet name, you will need to loop over the new ResultSet variable manually using rsFirst, rsNext, and #isRowPresent. For example:

<$rsRename("SearchResults", rsNewName)$>
    <$loopwhile getValue(rsNewName, "#isRowPresent")$>
        <!--output code-->

Type and Usage


Takes two parameters:

  • The first parameter is the name of an existing ResultSet.

  • The second parameter is the new ResultSet name. The call will fail if the resultset already exists.


  • Returns TRUE if the function is successful.

  • Returns FALSE if the function fails.


Renames the SearchResults ResultSet to MySearchResults:

<$rsRename("SearchResults", "MySearchResults")$>