Holger Klawitter wrote:
> > 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?
>
> Palm OS itself does not provide support for that. But you can
> create an index DB yourself (at 1st launch after HotSync
> for example). The optimal way of implementing it strongly depends
> on your data and sorting key sizes, of course.
Yes. I've done this.
But I cannot do a binary search (as I think).
I sorted the DB in three ways and stored uid of records.
But when searching thru records I have to query for each record (it takes long time).
Q: how does PalmOS stores sort info in database header?
I've been looking thru Reference for long time, but cannot solve it.
Can't I save sortinfo for each sort order and swap it on demand ?
Thanks for Answer
Wojtek
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/