You need to sign in to do that
Don't have an account?

How to Retrieve more than 10000 records in controller
Hi All,
In my controller , i am trying to retrieve more than 10000 records. But because we have a limit of 10000 records in salesforce, i am not able to do this.
Can anybody please tell me how we can query >10000 records in controller or some workaround for this ?
Values from batch apex cant be passed back to page.It has to be stored in some object and then call back in page.
Need to keep a refresh button on Page to see the latest values.
All Answers
batch apex. the limits like this are put in place so your processes don't impact other users (shared environment). batch apex ensure you can do things with big sets of data, while ensuring your stuff doesn't hog resources on the instance your org is on.
Thanks for your reply...
Can you please let me know how it is done using batch apex..
One example or sample would be helpful...
Hi All,
I have written the below batch apex class. But its not running. In debug logs, i can see that it runs upto the variable and no methods(including navigate() ) are executed.Please let me know what i have missed out....
Values from batch apex cant be passed back to page.It has to be stored in some object and then call back in page.
Need to keep a refresh button on Page to see the latest values.