Routines (alphabetical) > Object Classes > Miscellaneous Object Classes > IDLdbRecordset::NFields

# IDLdbRecordset::NFields

The IDLdbRecordset::NFields function method returns the number of fields in the recordset.

## Syntax

status = RSobj -> [IDLdbRecordset::]NFields()

## Return Value

Returns the number of fields.

## Arguments

None.

## Keywords

None.

## Version History

5.0 | Introduced