Hi All,

I want to get the record count in the Address DB, but no matter I use
DmDatabaseSize(0, DmFindDatabase(0, "AddressDB"), &recordCount, NULL, NULL);

or

recordCount = DmNumRecords(AddrDB);
I can't get an accurate record count from the AddressDB. It always return a
number that include the record I had delete.
That means when I delete 1 record by Address Book from 4 records to 3, then
I use my program to get the count of AddressDB, it still return 4.

Am I do somethings wrong?
Thanks for your help.

Geoffrey



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

Reply via email to