jpchausseau
Member²
I set the QueryAllRecords property of a TOracleDataSet to false, and its ReadBuffer property to 5. Then I linked a TDBGrid (through a TDataSource) to the OracleDataSet. The grid is able to display 50 records at a time.
When the connection to the database is activated (at runtime), the grid displays 50 records (not five). Does that mean that the ability of the grid to display 50 records overrides the 'ReadBuffer' property? How can I get assured that only 5 records at a time will be fetched from the database when the user scrolls through the grid?
When the connection to the database is activated (at runtime), the grid displays 50 records (not five). Does that mean that the ability of the grid to display 50 records overrides the 'ReadBuffer' property? How can I get assured that only 5 records at a time will be fetched from the database when the user scrolls through the grid?