But what should I do if I need work with TDataset class. I create custom datasets in connection library (dll) and it can be interbase dataset, ado, bde and other. I work with them as with TDataset class. At the begining of operation I dont know how big will be result set. And of course 2,7...
Every time when I opene dataset with 2,7 millions records I get out of memory exception. I look to sources and find such strings
...
MaxRecords := Count div 2;
if MaxRecords < DataSet.ReadBuffer + 1 then
MaxRecords := DataSet.ReadBuffer + 1;
...
Please insert this lines beween...