--- In [EMAIL PROTECTED], Matt Graham <[EMAIL PROTECTED]> wrote: > ok, you have a bunch of sorted, packed records in your > database that look something like this (numbers are record > index): > 0 - "123" > 1 - "ABC" > 2 - "Hello" > 3 - "Wednesday" > 4 - "Yesterday" > > Now, say you want to find "Hello", this is sort of what it > looks like you would do based on your previous posts: > > char *idname = "Hello"; > index = DmFindSortPosition( dbP, idname, 0, compar, 0 ); >
Matt (and Mark), Ahhhh! I can't believe how elegant and simple it is (and how complicated I've been trying to make it!) Thank you very much for your help - it's greatly appreciated. Cheers, Nick -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
