Re: ADO FIND question
From: Brendan Reynolds (brenreyn)
Date: 10/13/04
- Next message: Dennis: "Re: ADO FIND question"
- Previous message: Dennis: "Please forgive the multiple posts"
- In reply to: Dennis: "ADO FIND question"
- Next in thread: Dennis: "Re: ADO FIND question"
- Reply: Dennis: "Re: ADO FIND question"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 13 Oct 2004 15:48:50 +0100
A primary key is an index.
I'm not sure that I understand the rest of your question. How is your code
supposed to know that the last record to match your criteria is the last
record without searching the remaining records? If you have ten records, and
records 3, 5 and 7 match your criteria, how is your code to know that record
7 is the last match without examining 8, 9 and 10, regardless of whether
there is an index or not? Or am I misunderstanding the question?
-- Brendan Reynolds (MVP) http://brenreyn.blogspot.com The spammers and script-kiddies have succeeded in making it impossible for me to use a real e-mail address in public newsgroups. E-mail replies to this post will be deleted without being read. Any e-mail claiming to be from brenreyn at indigo dot ie that is not digitally signed by me with a GlobalSign digital certificate is a forgery and should be deleted without being read. Follow-up questions should in general be posted to the newsgroup, but if you have a good reason to send me e-mail, you'll find a useable e-mail address at the URL above. "Dennis" <Dennis@discussions.microsoft.com> wrote in message news:1EBB570A-824C-4B70-90C0-9F2A8D5FF92B@microsoft.com... >I have a VB program accessing non-indexed tables (by primary key). I'm >using > the RECORDSET.OPEN / RECORDSET.FIND syntax, coupled with > RECORDSET.MOVENEXT. > > I would like to be able to stop the quesry when the last record with my > specified value is found. How can I do that when the field I'm using is > not > indexed (even though it's a key field)? > > Any insight would be appreciated. > > Thanks!
- Next message: Dennis: "Re: ADO FIND question"
- Previous message: Dennis: "Please forgive the multiple posts"
- In reply to: Dennis: "ADO FIND question"
- Next in thread: Dennis: "Re: ADO FIND question"
- Reply: Dennis: "Re: ADO FIND question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|