On 20-Mar-99 Hardy Macia wrote:

> I'm doing the following to remove all of the records in my temp database
> 
> while (0==DmRemoveRecord(gTempDB,0));
> 
> It works fine on Palm OS 3.0, but on Palm OS 2.0 I get an error:
> 
> DataMgr.c, Line: 6178, Index out of range.
> 
> How should I be removing all of the records in a database?

Lots of answers here:

http://www.palm.com/devzone/docs/pptdg/ch06.htm#P425_24949

I just stick a DmRemoveRecord() in that loop, but maybe it is more efficient
to delete the records from the end rather than the beginning.  Not sure.


/* Chris Faherty <[EMAIL PROTECTED]>, finger for PGP */

Reply via email to