View Single Post
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#148
a note: it works correctly if you do 0..1000, 1000..2000, 2000..3000, even though it only gets part of it.

this works:
Code:
        model.setLimit(limit);
        model.setOffset(offset);
        model.getEvents();
        offset += limit;

        // Stop when we get nothing
        keepgoing = (model.rowCount() > 0);
i get all my calls correctly with the above, 992 + 534 == 1526
__________________
~ teleshoes ~