Adds new fields to a ResultSet. This function will only add the field if it is not already present. Note that setValue(...) can also add new fields but it only works on ResultSets that are nonempty and are on a currently valid row.

Type and Usage


Takes two parameters:

  • The first parameter is the name of the ResultSet to get new fields (columns) added.

  • The second parameter is a comma separated list of fields to add.(the column names to be added).


  • Returns TRUE if the function is successful.

  • Returns FALSE if the function fails.


<$rsAddFields(rsName, fieldsList)$>