>Anyone have ideas on what we be the most effecient way to find a 
>record when working with an extremley large number ( 9000+ ) i need 
>to find a record by a field in that record, and i do not know the 
>index.. currently i'm doing dmqueryrecord then finding the next one 
>and comparing the field.. but this is very ineffecient.  all 
>thoughts are welcome.

When you first start the program, build a hash table or searchable 
tree structure using the field of interest. Then use that structure 
to search. You could also probably build that structure once and save 
it in feature memory or a file stream.

Regards,
Steve Mann
-- 
-------------------------------------------
Creative Digital Publishing Inc.
1315 Palm Street, San Luis Obispo, CA 93401-3117
-------------------------------------------
805.784.9461              805.784.9462 (fax)
[EMAIL PROTECTED]       http://www.cdpubs.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to