VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Total Record Count In ADO Recordset

Riaan Aspeling  (14 Submissions)   Databases/Data Access/DAO/ADO   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

This simple little function just returns the total number of records in a ADO recordset.

Inputs
A ADODB.Recordset structure

Returns
A Long integer with the total number of records

Side Effects
I believe it's not the fastest way of retrieving the information but at least it works. I'd like it if somebody can suggest a alt. way of getting to this info.

Rate Total Record Count In ADO Recordset (39(39 Vote))
Total Record Count In ADO Recordset.bas

Total Record Count In ADO Recordset Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters