Page 1 of 1

problem with smartfetch and order by

Posted: Tue 30 Dec 2014 13:19
by pincopallino
Hi,
I have a query with a parameter. For a mistake I enabled the SmartFetch and from that moment I was not able to change the order of records (by clicking in the CRGrid or by code).
Found that the parameter value was appended at end of SQL text and for this tha server reported an error.
After disabling SmartFetch the program returned to work correctly.

Re: problem with smartfetch and order by

Posted: Tue 30 Dec 2014 15:05
by AlexP
Hello,

Yes, this is a restriction on using the SmartFetch mode. You can't change sort order in this mode. Sorting is available only when the LiveBlock option is disabled.

Re: problem with smartfetch and order by

Posted: Wed 31 Dec 2014 12:20
by pincopallino
Thanks!
I need to better read the documentation...

Re: problem with smartfetch and order by

Posted: Sun 04 Jan 2015 07:31
by AlexP
You are welcome. Feel free to contact us if you have any further questions.