I'm not too worried about the search yet, because even if I use hardcoded indexes into DmQueryRecord, I'm still getting random, unintelligible crap. To make matters worse, there are apparatentely over 20,000 records in this database, and if I use index values of anything over 15 the program crashes.
I can't do a sequential search like that because of the database size, I have to use a binary search, I'm just hoping I don't have to write one myself, since this function seems to do it for me. I do think my comparison function could be flawed, but I can't be concerned with any of that yet. First I must know for sure that I can read indexes off of this database. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
