Finding Records Using the Find Method

The ADO Object Model provides you with two methods for locating records: Find and Seek. This section demonstrates how to use the ADO Find method to locate all the employee records based on a condition. ADO has a single Find method. The search always begins from the current record or an offset from it. The search direction and the offset from the current record are passed as parameters to the Find method. The SearchDirection parameter can have the following values: adSearchForward and adSearchBackward.

0 0

Post a comment