You need to sign in to do that
Don't have an account?
select Query for StandardSetController
Hi,
Below is my code to get records from pagetable
public ApexPages.StandardSetController con {
get {
if(con == null) {
String qryString = 'select Id, Name, PLZ__c, Ort__c, Strasse__c from Account ' ;
MyList= Database.query(qryString);
List<Account> qryString1 = MyList;
con = new ApexPages.StandardSetController(qryString1);
con.setPageSize(16);
}
return con;
}
set;
}
public Boolean hasNext {
get {
return con.getHasNext();
}
set;
}
here PLZ__c, Ort__c, Strasse__c are textboxed i need to search the record based on user input from account table. Is there any way to modify this query in order to search and paging both work together.
Thanks,