function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
harshasfdcharshasfdc 

Pagination For More than 50000 Records

Hi All,

i have a tried using offset and standardsetcontroller  but i am getting 2000 limit execption for Offset and 10000 for Standardset controller .How to over come this issue .



Thanks,
Harsha
Raja ReddyRaja Reddy
Harsha,

There is a salesforce limitation should not exceeds 10,000 records.

Hope this helps you...

LINK 1: https://developer.salesforce.com/page/Paginating_Data_for_Force.com_Applications
LINK 2: http://salesforce.stackexchange.com/questions/42702/how-to-paginate-10000-records-soql-offset-and-standardsetcontroller-too-limit

If my answers solves your problem, please mark it as Best Answer, so that other can take benefit of this post.