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

how to retrieve more than 50,000 records for 1 Visual Force page
Hi All,
I know the VF limit is 50,000 records for 1 VF page request.
Business wants to have all accounts (more than 50,000 ) retrieved for the VF page so that users can search for certain accounts on the screen.
Please advise.
Thanks
I know the VF limit is 50,000 records for 1 VF page request.
Business wants to have all accounts (more than 50,000 ) retrieved for the VF page so that users can search for certain accounts on the screen.
Please advise.
Thanks
You cannot retrieve more than 50,000 records your SOQL calls in a single context.
However, with Batch Apex your logic will be processed in chunks of anywhere from 1 to 200 records in a batch.
You'd need to modify your business logic to take the batching into account if necessary.
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_batch_interface.htm