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

Nomatch property in ADO

Status
Not open for further replies.

jbrowne

Programmer
Feb 1, 2000
182
IE
Hi Folks,
Can anyone tell me what is the equivelent of the nomatch property (DAO) when using ADO. If, as I suspect there is none, what is the best way of coding around it ?
Thanks

John B
 
As far as I am aware, you can also use NoMatch wih recordset created using ADO.

Simon
 
What happens when there is no match found for a is that the recordset ends up at the end of itself, so just use the .EOF property to see if a match was found. Durkin
alandurkin@bigpond.com
 
Hi

Here's some code

With rsSomeRecordSet
.Find blah blah blah

If .EOF Then
'No Match
Else
'Do ya stuff
End If
End With
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top