Board index » delphi » searching a secondary index

searching a secondary index

Yeah, but that's not a very fast way.

Quote
"GRS" <nospamplease.pontille_AT_bigfoot.com> wrote in message

news:3a30b012$0$85998$45beb828@newscene.com...
Quote
> "Jur" <jdigg...@dds.nl> wrote in message news:3a30a36c$0$8227@reader3...
> > 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
> > ?

> > Thanx, Jur.

> > P.S. I use paradox tables.

> Hii,

> Accessing the data through a TQuery and issuing an SQL 'SELECT' command
> should do the trick.

> HTH's

> GRS

 

Re:searching a secondary index


It's been a while since i used Pdox/dBase but i think you should look at
SetRange or similar. It can use an index.
-hh-

Quote
"Jur" <jdigg...@dds.nl> wrote in message news:3a30a36c$0$8227@reader3...
> 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
> ?

> Thanx, Jur.

> P.S. I use paradox tables.

Other Threads