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
Melvin_DeveloperMelvin_Developer 

StandardSetController: Too many query locator rows: 10001

Hi, I ran into an issue when using the StandardSetController it appears that I am limited to querying only 10,000 records.
Does anyone know of a way to overcome this issue?

What am I attempting to do:
return all the 50,000 records I have and access these in sets of 20 records.

 

The standardSetController provides me with the exact functionality I need and it would be great if I could find a way to resolve the limit issue so I can continue to use this standard controller provided and supported by force.com however if you believe you know a better solution I would still like to hear it!

Thanks in advance,
                            Melvin!

gotherthanthougotherthanthou

As far as I know the only way around the 10,000 row limit is to operate on them in batch mode.