[lazarus] TDBGrid question

Michael Van Canneyt michael.vancanneyt at wisa.be
Tue May 27 02:35:48 EDT 2003

On Tue, 27 May 2003 hernan.et at pg.com wrote:

> Hi all,
> It was indeed not a very good decision to determine ahead of time the number of
> records for the TDBGrid, as was pointed out by Marc. But I am also thinking how
> the grids are being designed by "SAP Gui systems". Wherein there is a set limit
> of 9999 in SAP 4.6D.  I don't know if you guys buy out that we set a limit for
> DBGrids .. et al... in the same way that SAP grids are designed (at least, based
> on my understanding).

No, there should be no limit. You don't need this. Grids work fine in
Delphi without limits.

> Though, I also like the idea of displaying only the data when needed. But I
> think we need help from you guys as to understanding why is it that TDBGrid
> cannot scroll backwards specially for tables with more 10 records(at least for
> Firebird. )

It has probably still to do with the buffer handling. I think there
might be still an error in that: 10 is the default buffer size, this is
not a coincidence.


More information about the Lazarus mailing list