Thanks.
I tried DmFindSortPosition and it works much,much faster.
There is only one problem for me yet.
I want my DB to be sorted in three ways.
I cannot sort on demand (because of amount of records).
What is the way to do that?
Wojtek
Richard Burmeister wrote:
> > From: Wojtek
> >
> > My database is going to have over 1500 records.
> > Is there a way I can speed up searching for a specified string in these
> > records.
> > DB is sorted.
> > All I'm doing is qyerying next record looking if it contains specified
> > string , then next ,next...
> >
>
> If your DB is sorted, why not do a binary search? That will be much, much
> faster (O log N vs. O N, I think).
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see
>http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/