If you want to know the number of records in the recordset, you must change
one of the properties before the rst.open command:
rst.CursorLocation = adUseClient
Post by Sadayoshi YumitaADO RecordSet Object cannot return [recordcount] value.
Anyone Knows about this?