Client-Side Cursor Recommendation
It is recommended that you use client-side cursors instead of server-side cursors in Visual Basic.
If you use a server-side cursor, the RowCount
property on the recordset
object will always be -1
instead of the actual row count.