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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ADO find

Status
Not open for further replies.
Jan 3, 2001
66
US
I want to find a record whose field name is contained in array element pFieldNames(0, 0) and the value of the field is contained in pFieldNames(0, 1).

In this case the value of pFieldNames(0, 0) is "Emp #"

How do I represent this using the criteria that is set out by ADO?

Carolyn

 
I got my own answer.

rs.Find pFieldNames(0, 0) & " = " & pFieldNames(0, 1)

To me, the confusing thing is that Find requires a string.

Carolyn
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top