Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADODB - Recorset - Find

Status
Not open for further replies.

Diogo

Technical User
Mar 22, 2001
143
PT
Hello!

I would like to know, if there are someone that would like to help me.

The question is whow i it works then find command of a recordset from an ADODB.

Thanks for any whay.

Diogo Reis
 
rsYourrecordset.Find "YourField = '" & YourVariable & "'", , adSearchForward, adBookmarkFirst

David Paulson


 
You could also use >, <, >=, <=, <> or LIKE as the operator in the Find clause. However, the FIND method only supports one search condition. If you try to specify multiple search conditions using AND or OR keywords you'll get a run-time error. Use the FILTER property if you want to use multiple search conditions.

Herman :-Q
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top