Populate the DOCollection with a subset of the search results,
using the SQLBuilder that has been previously set in the SetCurrentQuery() method
Before calling this method, SetCurrentQuery() must first be called to set the DOCollection's SQLBuilder. It is this previously-set SQLBuilder that will be used in FindRange().
This will retrieve the first 50 rows in the result set:
Dim sColl as New StudentCollection Dim mySql as SQLBuilder = sColl.GetSqlBuilder() mySql.addWhere(Student.Columns.Name, name) sColl.SetCurrentQuery(mySql) sColl.FindRange(0, 49)