You need to sign in to do that
Don't have an account?
Too many query locator rows: 10001
Hi,
I am fing the following issue while displaying list of records after dynamic search..
I used the following code :
public ApexPages.StandardSetController Agen{get;set;}
query = 'select id,name,Programme_Name__c from opportunity where ';
ProgrammeName = userinputData.Programme_Name__c;
if(ProgrammeName != null && ProgrammeName !=''){
query = query +' Programme_Name__c = \''+ProgrammeName+'\'';
}
Agen = new ApexPages.StandardSetController(Database.getQueryLocator(query ));
Agen.setPageSize(200);
Am getting the error when the count of the records exceeds 10000.If i specify a limit of 10000,then i don't get the error,but i have a list of 35000 records on my object.
Please help me to solve this issue.
Thanks in advance .