On Thu, 21 Nov 2002 17:18:02 -0800 Steve Mann <[EMAIL PROTECTED]> wrote:
> >While we are there.. ;) any suggestion on how to keep the whole thing sorted? > > > >I could add new records to the end and then do an insertion sort > >(the db should be almost sorted), or there's a better way? > > How about using DmFindSortPosition to figure out your insertion point. It wouldn't work, since each "real" pdb record is made of N items. I could call DmFindSortPosition and then a custom function to find the sort position inside the record. -- Alessandro Zummo, Tower Technologies - Turin, Italy -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
