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

USING SEEK IN ADO WITHOUT INDEX

Status
Not open for further replies.

MALICKA

Programmer
Oct 16, 2002
46
HK

Is it possible to use seek in ADO wihout creating index

i have problem in seek when i use within function

my code :
Public Function RecordFound(cKey As String, cSearchValue As String) As Boolean

FindCrit = cKey & " = '" & cSearchValue & "'"
rs.Seek cSearchValue, adSeekFirstEQ
( codes)

End Function
 
ADO recordsets also have a FIND method and a FILTER property which may provide what you need. In my experience with it, FIND is faster than FILTER (but SEEK should be faster than either of the other two).
 
Hi BlackburnKL
Yes ofcourse i use find now
but i want to change to seek for faster as there are more than 20000 record to use
 
Is any one out there to help me
How to use seek in ADO
now i use find it's bit slow
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top