getRecords - 200 records at a time limitation - how to handle this - looking for a source code example

getRecords - 200 records at a time limitation - how to handle this - looking for a source code example

Hi all, 

Just wondering if anyone has put together the 'buffering' logic, or looping logic, needed to deal with the limitation that you can only pull 200 CRM records via the API at a time...which is obviously an issue when you have more than 200 records in your CRM.

Has anyone looked at this in detail, and written the deluge script to handle it? Anyone from Zoho volunteer a solution?

I think it's tricky (or at least cumbersome) without a Repeat/Until type statement for even a traditional 'For Loop'.

I am keen to see if there is an elegant solution - perhaps this thread could be an opportunity for a few brains to be directed on the problem and see if it can be solved in an elegant way.

I will start with maybe some pseudo-code logic...

Thanks, 

Liam.