Perform a Find to populate the DOCollection, using the SQLBuilder that has been
previously set in the SetCurrentQuery() method.
| C# | Visual Basic | Visual C++ |
public void Find()
Public Sub Find
public: void Find()
Before calling Find(), SetCurrentQuery() must first be called to set the DOCollection's SQLBuilder. It is this previously-set SQLBuilder that will be used in Find().
Find() is most commonly used where a SQLBuilder has been generated outside the DOCollection. For example:
Dim sColl as New StudentCollection Dim mySql as SQLBuilder = sColl.GetSqlBuilder() mySql.addWhere(Student.Columns.Name, name) sColl.SetCurrentQuery(mySql) sColl.Find()