You need to sign in to do that
Don't have an account?
GoForceGo
getCompleteResult not working on standardSetController
I am trying to filter out list views that have more than 10K records.
When I ask setController.getCompleteResult(), it returns true. However, when I cycle through the records (using a while loop with getRecords(), .next(), and getHasNext()), I count till 10K and then it exits the loop! So there are more than 10K records in the set.
I just worked around it by using getResultSize() < 10K. Of course if results size is exactly 10K, this doesn't work!