LiteDac TLiteQuery.RecordCount

Discussion of open issues, suggestions and bugs regarding LiteDAC (SQLite Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
egrobler
Posts: 26
Joined: Mon 03 Dec 2012 14:35

LiteDac TLiteQuery.RecordCount

Post by egrobler » Tue 10 Oct 2017 10:12

To whom it may concern,

When selecting rows with TLiteQuery it seems that RecordCount is incorrect when more than 25 rows are returned.
Is this a bug?

Best Regards
Eric

egrobler
Posts: 26
Joined: Mon 03 Dec 2012 14:35

Re: LiteDac TLiteQuery.RecordCount

Post by egrobler » Tue 10 Oct 2017 12:55

Ah, it is related to FetchRows which is 25 by default.

MaximG
Devart Team
Posts: 1019
Joined: Mon 06 Jul 2015 11:34

Re: LiteDac TLiteQuery.RecordCount

Post by MaximG » Wed 11 Oct 2017 10:17

To obtain the number of records in LiteDAC returned by the query, use the QueryRecCount property: https://www.devart.com/litedac/docs/?de ... ccount.htm

Post Reply