+ 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.