I'm facing a problem while  counting the record in
AddressDB --
say there're 10 records-- i have deleted 1 record --
now if i call
DmNumResources() or DmNumRecords()--
it's showing 10 instead of 9.
why it's returning the wrong number??

If you're using DmDeleteRecord to delete the record, it DmNumRecords will return 10. For an explanation, read the docs for DmDeleteRecord and DmNumRecords.


If you're not using DmDeleteRecord, how are you deleting the record?

Regards,
Steve Mann

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

Reply via email to