Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

Forums:

 

Hi All,

 

     How to get total number of records present in address book. right now i am using pim_icontacts_searchcount(). here i am passing  filters like

 1 -> "FIRSTNAME LIKE '%'" ,

 2 -> "FULLNAME LIKE '%'".

few records contain first name and other few contains fullname.

if this is the method to get record count  or

is there any other way to get record count?

 

Thanks.

Yes this is the method for record count, if you want to count all records present, an empty string (L"") will return all records like below:
int err = pim_IContacts_SearchCount(pMe->icont, L"", &count);

Yes this is the method for record count, if you want to count all records present, an empty string (L"") will return all records like below:
int err = pim_IContacts_SearchCount(pMe->icont, L"", &count);

Thank u smahesh

Thank u smahesh