Home > Idoc Script Reference Guide > Management and Configuratio... > rsNumFields
Provides a count of the number of fields in a result set. This is useful when combined with rsFieldByIndex.
rsFieldByIndex
Type and Usage
"Global Functions"
"ResultSets"
Parameters
Takes one parameter, the name of the result set.
Output
Returns the number of fields.
Example
<$numFields = rsNumFields("resultSet1")$>
See Also
"rsFieldByIndex"