what is the range of TUniQuery's FetchRow?

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ewen
Posts: 5
Joined: Wed 16 Nov 2011 10:08

what is the range of TUniQuery's FetchRow?

Post by ewen » Mon 05 Dec 2011 04:14

The range of FetchRows is from 1 to 10000.
But when I set it to 65535, It works.
But when I set it over 65535, program err happend.

Would you tell me what is the real range of the FetchRow?
And is there any way to get data which count is over 65535?

thank you!

Environment:
C++ Builder6
Version 4.0.2

AndreyZ

Post by AndreyZ » Mon 05 Dec 2011 17:05

Hello,

The range of the FetchRows property is 1..MaxWord (65535). We do not recommend setting the FetchRows property bigger than 65535 because it can lead to memory overflow.

Post Reply