function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion 

OFFSET reach 2000 limit display message

Hi Experts,

   I have a requirement to add validation message on visual force page when OFFSET reach 2000 limit it shoud display message saying "OFFSET reached to 2000 limit'  Please suggest me how to add this logic in controller and visual force page.
   Also if OFFSET should not go beyond 2000 it must say at this limit please suggest how to add this logic.