\I'm wondering if I'm doing something wrong or if there's a way to speed
things up.  To load the first 20 bytes of each record, I loop through and
open each record like this:

for (index = 0; index < numRecs; index++)
{
     recHandle = DmGetRecord(dbHandle, index);

Use DmQueryRecord here. It is a quicker, read-only method to get a record, and you don't need to call DmReleaseRecord when you're done (something your code forgot to do).


--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com



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

Reply via email to