[fpc-devel] Warning for sqldb and fpc 2.1.1 users

Martin Schreiber fpmse at bluewin.ch
Sun Apr 2 08:52:36 CEST 2006


On Saturday 01 April 2006 18.06, Joost van der Sluis wrote:
> Further I have a question: now sqldb uses a linked-list record buffer,
> the RecordCount and RecNo properties are something strange.
>
> What should I do with recordcount? I can add a counter which keep track
> of the recordcount. Ie: it does inc(recordcount) if a record is
> appended.
>
> Or I can do a real count of the records, each time recordcount is
> called.
>
> And what about recno? Just define it as -1, or do a quick count to get
> the current record number?
>
RecNo and RecordCount are frequently used in MSEgui, I found them very useful.

Martin



More information about the fpc-devel mailing list