• BenBel
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies

 I have written some code that uses a StandardSetController and it works fine untilthe number of record exceeds 10,000, at which point I hit a govenor limit

 

using ctl.SetFilterId(...) generates this error

 

Account ORDER BY Name ASC limit 10000 USING Mru ^ ERROR at Row:1:Column:68 unexpected token: USING


There seems to be a problem applying the filter to the query and I cant see a way to examine a filter within Apex Code

 

any help out there?

  • February 23, 2010
  • Like
  • 0