Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VB6 ADO Recordset Limit

Tags:

vb6

ado

recordset

Please don't laugh because I'm asking a VB6 question? I have to do some maintenance work. Does anyone know what the maximum number of rows can be returned to a VB6 ADO Recordset? If there is a limit, is there a preferred method for getting around it?

like image 638
StoneJedi Avatar asked Jun 01 '11 17:06

StoneJedi


2 Answers

There is no limit (see link for documentation), but you can provide one if you want. There should be a MaxRecords property that you can set. You have to set it before you open the recordset.

like image 85
vcsjones Avatar answered Sep 21 '22 12:09

vcsjones


The RecordCount property is a (signed) Long (as is the MaxRecords) so it won't be able to hold more than 2,147,483,647 rows

like image 26
Matt Wilko Avatar answered Sep 18 '22 12:09

Matt Wilko