ADO's meathods don't actually utilise the back end methods to do their seeking, sorting, filtering.
If you want to find a record based on multiple fields I would suggest, most cases, requering the back end. But if you want the exsisting data to stay and just scroll thru it the next option I would do is send a query to the database based on your search critirea and return the primary keys of all the records that match then using that primary key as the field used in the search.
If you have a multi field primary key then...sigh... you have to do it a bit convoluted. Basically use the first field as the .SEEK then manually check the other columns you are trying to match on ... if no match do another seek from that point.
Hope I've been helpful,
Wayne Francis
If you want to get the best response to a question, please check out FAQ222-2244 first
Thanks for your information. I have created another field (Text field to store both field info ie: AccID & AccDate info)
Still I have a problem using this index. I have error saying
"Current provider does not support the necessary interface for index functionally?"
Is this mean we can not use Seek method on any Access table/Field? Or is there something wrong with my coding? Pls. help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.