Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Using an ADO control to search an Access database

Status
Not open for further replies.

stevozip

Computer
Jan 25, 2002
1
I am writing a program which utilizes the ADO control. I have linked a database file, lotus.mdb, to the control and need to be able to search the database. Now, I have a VB book I used for school that has code for searching a database using the Data control in VB. Here's the code I'm having trouble converting to ADO:

datfind.recordset.findfirst

and

datfind.recordset.nomatch

and

datfind.recordset.findnext

Visual Basic does not like FindFirst, NoMatch, and FindNext with the ADO control. What are the commands i would use for this instead?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor