Chris,

>Is record indexes constant all along the execution, or are they updated when
>i detach/remove/delete one of them ?

They dynamically renumber when any records are either inserted or removed.  Thus
the valid index numbers will always be from 0 through the last available number.
One simple solution in your scenario is to have the loop proceed backwards,
removing records from the end towards the beginning.

But why not just delete the database and create a new empty one next execution?

Doug

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

Reply via email to