Count

This property indicates the number of fields in a recordset.

Syntax

fields.Count

Parameters

fields
Specifies the Fields collection of an open Recordset.

Example

Dim rs
Set rs = CreateObject("adoce.recordset")
rs.Open "MSysIndexes"
MsgBox rs.Fields.Count
rs.Close
Set rs = Nothing