> DmDeleteRecord marks a record as deleted, but does not actually remove it.
> This gives hotsync a chance to coordinate the deleted records with the
> records on the Palm handheld.  Use DmRemoveRecord to really remove the
> record and your DmNumRecords will then report the number you expect.

Or, if realizing you need the HotSync coordination and must use
DmDeleteRecord, you can determine the number of undeleted records by using:

    UInt num = DmNumRecordsInCategory(dbRef, dmAllCategories);

It's a bit slower, but it works.

---- --- -- -
Matthew D Moss
[EMAIL PROTECTED]



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to