Ben Combee a �crit :

> >\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).

What is the difference with DmGetRecord if after a Query, you can nonetheless
write the record and release it? Only the Busy bit setting?


--
Luc Le Blanc



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

Reply via email to