At 10:13 PM 1/28/2002 +0800, Low Pui Kuen wrote:
>Hi,
>
>I want my function to perform a deletion of all records at a time but 
>instead it only deletes half of the records.
>Anybody has experienced this before?
>
>//In the SetupMod.c
>UInt16 i = 0;
>  .
>  .
>  .
>case cmdModDel :
>
>for(i = 0; i < CountRecord(); i++)
>    RemoveModule(i);

Don't increment i, just continue to remove index zero.


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