Is pagination possible when searching the Notes databases?

Is there any way to search a database in several steps, for a certain number of notes each step? I would like to obtain a kind of paging. Each step I would like to obtain a set (a page) of notes that I process, then go forward to next step (obtain the next set of notes matching the search criteria). Is this possible through C or C++ API?

Example: Consider that I make a query for documents that I want to show in a web page only 20 or 50 records per page.

Subject: RE: Is pagination possible when searching the Notes databases?

Search the Domino Designer help for “TotalHits”.