"Ingo Claro Fox" <[EMAIL PROTECTED]> wrote in message
news:43838@palm-dev-forum...
> what happens if I do DmRemoveRecord(mydb,0) ?
> record #1 is then #0 and so on, or it remains #1?

Correct.

> so to erase a buch of records i do:
> for(rec=begin,rec<end;rec++)
>          DmRemoveRecord(mydb,rec);
>    or
>          DmRemoveRecord(mydb,begin);

The latter.

> or is there a faster way to do this??

Iterate backwards, removing the last record first.
--
Danny Epstein
OS Engineer, Palm Inc.



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