Page 1 of 1

LiteDac TLiteQuery.RecordCount

Posted: Tue 10 Oct 2017 10:12
by egrobler
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

Re: LiteDac TLiteQuery.RecordCount

Posted: Tue 10 Oct 2017 12:55
by egrobler
Ah, it is related to FetchRows which is 25 by default.

Re: LiteDac TLiteQuery.RecordCount

Posted: Wed 11 Oct 2017 10:17
by MaximG
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