Hi Blama
Thanks for taking the time to send me a (possible) solution.
At the moment I always perform a SQL COUNT (this is the first command I give). If it returns 0, I don't need to do the actual record fetching. I'm fine for now with a SQL COUNT. That most likely means I won't need that "notEqual -1" criterion.
The idea of sending back the total number of records in the first data object is brilliant! I will take a look into that right away. And in case I don't have data, that automatically means myTotalRows is 0. :-)
You mentioned addDataArrivedHander() which most likely is a SmartGWT thing, but I think I can use dataArrived().
Again, thanks for your reply!
Thanks for taking the time to send me a (possible) solution.
At the moment I always perform a SQL COUNT (this is the first command I give). If it returns 0, I don't need to do the actual record fetching. I'm fine for now with a SQL COUNT. That most likely means I won't need that "notEqual -1" criterion.
The idea of sending back the total number of records in the first data object is brilliant! I will take a look into that right away. And in case I don't have data, that automatically means myTotalRows is 0. :-)
You mentioned addDataArrivedHander() which most likely is a SmartGWT thing, but I think I can use dataArrived().
Again, thanks for your reply!
Comment