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
NaziNazi 

How to get 2L of records in pagination?

Having 2L of records how to retrive in pagination.By using offset cannot use more than 2000 records.Is there is any way to resolve it?  
YogeshMoreYogeshMore
Hi Nazira,

We have workaround for this and it is very simple to implement.
Go to the following link it helps you.
https://help.salesforce.com/HTViewSolution?id=000232691&language=en_US

Regards,
Yogesh More
Salesforce Consultant || Salesforce Developer
 more.yogesh422@gmail.com || Skype:-yogesh.more44
www.yogeshmore.com 
 
Rowallim TechnologyRowallim Technology
Hi Nazira
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.

Regards