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.

--
Michael Yam
www.ytechnology.com
[EMAIL PROTECTED]

Sam Trimble <[EMAIL PROTECTED]> wrote in message news:7594@palm-dev-forum...
>
> Hey, I need to find out how many records there are in a database. Using
the
> DmNumRecords function works pretty good until I delete a record. Then the
> next time it gets called it still returns the same numbers of records it
did
> before the delete. Is there any way I can get around this or any other way
I
> can get the number of database records?
>
>
>
>



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

Reply via email to