Board index » delphi » searching a secondary index

searching a secondary index

Hello,

Using the filter property gives you all the records that match a given
criterium.

Quote
>> Hi, I want to search a Table on a secondary Index. The problem is that I
>> want to find ALL occurences of the string I'm searching on, and gotokey
>only
>> brings me to the first occurrence. (even when I call gotokey again)
>> Is there some kind of  findnext-method that starts the search at the
>pointer
>> ?

 

Re:searching a secondary index


Quote
Bart Cocquyt (bart.cocq...@pandora.be) wrote:

: Using the filter property gives you all the records that match a given
: criterium.

: >> Hi, I want to search a Table on a secondary Index. The problem is that I
: >> want to find ALL occurences of the string I'm searching on, and gotokey
: >only
: >> brings me to the first occurrence. (even when I call gotokey again)
: >> Is there some kind of  findnext-method that starts the search at the
: >pointer

A faster way to accomplish the same thing is to use SetRange rather
than a filter.
--
Rick Carter
carte...@email.uc.edu

Other Threads