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

Webservices - selecting desired sets of results for pagination.



I am paginating on a jsp with select results from SF. Is there a way I can fetch only the nth batch of records from a select statement.


For example -there are 100 results for "select id from account order by created date". I want only results numbering 21-30.  Is there any way I can achieve this?


There is a limit command I can use with the select statement, but that only gives me the first n records.




Message Edited by odie on 04-22-2009 02:42 PM

....tipping this to the top of the list.


I mean querying by webservices.  Anybody have a solution for this ?