--- Tim wrote:
> I have about 2000 records in the database 
> and I need to quickly lookup items by the 
> item number on a regular basis.  The item
> number is a 20 char string.  What is the 
> best way to go about this?

Keep the database sorted by item number.  Then you can
do a binary search.  See DmFindSortPosition(),
DmInsertionSort(), and DmQuickSort().



__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

-- 
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