Count - property of the Collection object
Description:
The number of items in collection.
Note:
Property access for read only.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var oAdoField = oRs.Fields.Count;
// Reading from the property
Dim oAdoField
Set oAdoField = oRs.Fields.Count
' Reading from the property