From: "Brian Smith" <[EMAIL PROTECTED]> > > Well, the items will be listed by name in one view, so there definitely > needs to be a sort by that. The linear search in that case would be by > the record ID
Got it. > That may not be so bad, actually, depending on how many records that are > in the database, but that could be quite a few. I don't know how to quantify "quite a few." :) Seriously, if you're displaying the records in a list, that usually means you're not going to have thousands and thousands of them. Why not just try the linear search and see how it goes? If it works, it's a big win. If it doesn't, coding the linear search didn't cost you much. > It could be further > simplified by taking the list of record IDs and sweeping through the item > database once, finding the item names and record numbers corresponding to > each ID (in case one record is linked more than once). This would be more complicated, not simpler, in my opinion. I believe in trying the simplest thing that could possibly work. It's amazing how often it does. :) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
