|
-
June 14th, 2001, 08:51 AM
#1
Seek Method
I want to use the Seek method (rather than the find method) with an Access database. I get an error message stating that the provider is not capable of performing the operation. Doesn't access support the seek method? If not, why?
-
June 14th, 2001, 09:06 AM
#2
Re: Seek Method
Seek only works on an indexed field and you must set the index field before issueing a seek. Caution: Seek is fast but is not terribly portable to other databases.
-
June 14th, 2001, 09:12 AM
#3
Re: Seek Method
I indexed the field I'm seeking, and it still didn't work. Is access one of those databases that doesn't support seek?
-
June 14th, 2001, 11:47 AM
#4
Re: Seek Method
you need to make sure that you're using the correct index from your code
Dim rs as ADODB.Recordset
'recordset already instantiated and populated
rs.Index = "IndexName"
rs.seek Value
-
June 14th, 2001, 12:56 PM
#5
-
June 14th, 2001, 01:04 PM
#6
Re: Seek Method
Value is the field.value you are trying to match, whatever it is you're seeking.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|