ADO recordset object
C / C++ / MFC
3
Posts
3
Posters
0
Views
1
Watching
-
After running the SQL query, we got rewsults the ADO recordset object. How can we retrieve the total number of records present in recordset object.
By searching the forums maybe? This was answered just a couple of days ago... Anyway, the record count (rs.Count) usually isn't valid until EOF has been seen, count reports the current number of seen records.
-
After running the SQL query, we got rewsults the ADO recordset object. How can we retrieve the total number of records present in recordset object.
If you are using static or keyset cursor then the recordset count you get from the property 'RecordCount" is valid else you need to go from record to record manually and then use the property.