×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Aug 2004
    Location
    France
    Posts
    124

    Sort Contact database

    Hello,

    I would like to sort the default contact database by the following fields:
    - KUidContactFieldFamilyName
    - KUidContactFieldCompanyName

    Since both fields might contain data I want to apply the following rule: Sort the contact items by the contents of KUidContactFieldFamilyName; if this field is empty, then and only in this case use the contents of KUidContactFieldCompanyName and treat it like a family name.

    By the way: The Series 60 contact application obviously uses a similar rule set for sorting.

    The problem is that CContactDatabase::SortL(..) doen't provide the capability to do this - all fields without a family name but with a company name show up at the beginning of the list.

    I would like to have the same list (sorted identically) as in Contact application.

    Thank you,

    Bernie

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Posts
    131

    Re: Sort Contact database

    http://discussion.forum.nokia.com/fo...d.php?t=144680

    i have the soln here but problem in deleting the database variable
    iContactDb

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×