Page 1 of 1

what is the range of TUniQuery's FetchRow?

Posted: Mon 05 Dec 2011 04:14
by ewen
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

Posted: Mon 05 Dec 2011 17:05
by AndreyZ
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.