Contacts, show count of items in group?

If I create a custom group, there seems to be no way of knowing how many people/items there is in it.
Well I could always start counting...but...
Is there an option to show the count?

Hi,
You can run something like this in the Applescript Editor:
tell application "Contacts"
          set group_list to every group
          set group_data to {}
          repeat with this_group in group_list
                    set group_name to name of this_group
                    set group_count to count (every person of this_group)
                    set end of group_data to (group_name & " - " & group_count)
          end repeat
end tell
return group_data -- look below in result window
You can add more and place the list somewhere.
kel

Similar Messages

  • Main Calendar and Contacts wont show in thier respective selected group boxes under sync with outlook

    Main Calendar and Contacts wont show in thier respective selected group boxes under "sync with outlook".

    Have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"?
    Also
    Advanced troubleshooting for Sync Services on Windows with Microsoft Outlook 2003, Outlook 2007, or Outlook 2010

  • Sql statement to get the count of items in a group.

    i have a table  as follows
    group id   items
       1            item1
       1            item2
       1            item3
       2            item4
       2            item5
    i need to get the count of items for each group
    the out put should be like
    group = 1 count = 3
    group = 2 count = 2
    i wrote the following query
    select   group count( * )
       into     (group , lv_count)
      from     table1
      group by group.
      endselect.
    is it possible to write this query without using end select.
    when i am using the same query with into table addition the count is not coming.

    Hi,
    It will work, I tested just now, ofcourse with some other table.
    Like this:
    select group count( * )
    INTO TABLE ITAB
    from table1
    group by group.
    Regards,
    Amit Mittal.

  • 2 Contacts Show Up as My Card

    For some reason I have 2 contacts that show up as My Card in my contacts.  One is me and the other is my wife.  I can not remove the designation from my wife's contract.  If I click on my own contact and click on "Make This My Card", it will momentarily remove the designation from my wife's card.  But it comes back after a moment or two.
    Anyone know how I can remove this without deleting my wife as a contact?

    Please test after taking each of the following steps. Back up all data before you begin.
    Step 1
    Quit the Contacts or Address Book application if it's running.
    Triple-click anywhere in the line of text below on this page to select it:
    ~/Library/Caches/com.apple.AddressBookSourceSync
    Right-click or control-click the highlighted line and select
              Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Move the selected item to the Trash.
    Repeat with this line:
    ~/Library/Containers/com.apple.AddressBook
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
              Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.
    Step 2
    If you use iCloud, uncheck the box marked Contacts in the iCloud preference pane. Press return to confirm, or click Keep on Mac in the dialog that opens.
    If you synchronize contacts with any other network service, disable that synchronization in the Internet Accounts  preference pane.
    Step 3
    This step applies only if you can launch Contacts. From the list of groups on the left side of the Contacts window, select All On My Mac. If that group doesn't exist or is empty, skip this step. Otherwise, from the menu bar, select
              File ▹ Export... ▹ Contacts Archive...
    Save the exported archive to the Desktop.
    Step 4
    Quit Contacts if it's running. Reveal the following item in the Finder as you did in Step 1:
    ~/Library/Application Support/AddressBook
    If you know when the problem started, and you can restore that folder from an earlier backup without losing any contacts, do so and test. Otherwise, move the folder to the Desktop, leaving the window open for now.
    Step 5
    Launch Contacts. Your contacts and groups will be gone. If you took Step 3, then double-click the file you created in that step and confirm that you want to import from it. Your contacts and groups will reappear.
    Step 6
    If you took Step 2, reverse it. Test. If the issue is resolved, delete the AddressBook folder and the archive file on the Desktop and close the open folder window.
    Otherwise, quit Contacts again and put the AddressBook folder back where it was, overwriting the newer one that will have been created in its place.
    Step 7
    Go back to Step 3, but this time choose Export vCard... from the Export menu. Continue as in Steps 4-6. All contacts should be preserved, but you may lose some metadata such as group membership.

  • Old contacts showing up in siri and text search results but not in contacts list.

    So what I did was this. I had mobile me, and iphone ocntacts as well as contacts on phone. After updating to IOS5, i had tripples of almost all my contacts (but not all). I converted my mobile me to icloud to discover i couldnt use that email under my new official icloud accoutn as my @me.com adress. So what i did was this. I deleted my old mobile me (now icloud account) compleatly from my phone, my iPad and my computer so there is no trace of it. I then went to my new iCloud account (that i will now use as my only icloud account. going to let the old mobile me one just die so i have 1 central spot for all my stuff).  Now all my contacts are gone. So to start fresh and just be done with the confusion, i go to www.icloud.com and manually (by hand) re type in all my contacts. I updated some info and changed some names (like nicknames and stuff like that to real names). Basiclly compleatly organizing my contacts and such to the way i want them. Getting rid of poeple i no longer talk to and such.  I did it, it syned and all was well. However now here is hte problem.
    If i go to spotlight search, or text search, or search with siri, or any type of search function, all of my old contacts are still there and viewable. All the ones i wanted to get rid of are all still there. However, if i go to contacts and look for thoes old contacts, they are not in the contact list (yes iv checked every "group" and also "all contacts" in groups).  What i want is to figure out how to get all of these old contacts compleatly deleated so they dont show up anywere on my phone. Especially with siri its making searches and auto calling more difficult because its finding two contacts sometimes that are the same person and asks me to distinguish instead of jsut calling.  CAn anybody help?
    Sorry for the wall of text, wanted to make sure to give as much info on the specifics as possible so hopefully i can get this resolved.  Is this a bug or something i did wrong? can i fix it or do i just have to wait for an update?
    P.S.
    Iv since upgraded to iphone 4S and still happening. Also this does NOT happen on my iPad. Only my iPhone.

    Talked to AppleCare for about an hour. After trying many steps: deleting contacts, re downloading from cloud, disabling Siri and re enabling, even Reset all Settings. Nothing worked. Ended up having to restore the phone via Erase All Content and Settings. That of course fixed it.
    Not sure what the issue was. I did have a Mobile Me account before the iCloud migration. For some reason, my contacts would appear in Contacts on the phone and in the cloud only once, but when using Siri it would list 2 or 3 duplicate contacts. Also after we deleted all the contacts on the phone, did an iPhone reset (Home and On/off buttons), my contacts list would show empty. Then I would click on Groups and poof all of a sudden duplicate or triplicate contacts would be in the contacts list.
    Very strange.

  • Grouping customers and view customer open items list - Group wise

    Hi.
    I have some requirement from my client.
    He says that he want to view customer open items list group wise.
    In FBL5N we can give the selection of multiple customers. But he wants to group the specific customers and then view the open items for this group.
    For example: Client has 10 customers and out of these customers he wants to select and group 5 customers. And then he want to view open items list for this group.
    Can anyone help me how to group these specific customers in the total customers list. Also request you to provide me the option to view open items for this group of customers.
    Regards,
    Padmavathi

    Hi Padmavathi,
    It is possible. use Worklist for Customers.
    Go to OB55 and define a Worklist for Customers, and mention the list of Customers that you want to see under that Worklist.
    After this, when you to to FBL5N, you will get an option to select Worklist to run the list of open items.. and it would show open items of all customers that you have defined in your worklist.
    Also note that you will have to go to FB00, tab Line Items, and tick Worklists available. This is at User Level, so only that user will be able to see the worklist in his FBL5N transaction code.
    Regards,
    SAPFICO
    Edited by: SAPFICO on Feb 10, 2011 11:43 AM

  • Missing Item Category Group data in Material SD data in CRM

    Hi crm experts,
    Please help us. We are trying to identify what's the rootcause of the problem we experienced in CRM regarding the Item category group. We are maintaining material master in ECC and it will be replicated in CRM via middleware. The data item category group is properly maintained in ECC but when we checked in CRM, only 3 of the sales areas have it.
    Sales Area 1 - YES
    Sales Area 2 - NO
    Sales Area 3 - YES
    Sales Area 4 - YES
    So we will do a request load for the data to show also on Sales Area 2.
    Item category group were maintained in the ff tables:
    ECC table TPTM
    CRM table CRMV_ITEM_CAT_GR
    Can you please let us know how we can pin point this problem so that this will not happen again? We want to apply a permanent solution if there is. Hoping for your kind assistance. Thanks!
    Best regards,
    Mike

    hi
    General item category group
    Materials grouping that helps the system to determine item categories during sales document processing.
    *If a group is configured specific to distribution channel, it has priority if the corresponding activity is distribution channel-dependent
    Item category group from material master
    A grouping of materials that the system uses to determine item categories during the processing of sales documents.
    the difference between the two lies in the specificity to the distribution channel
    Regards
    Raja

  • How to use item category group for pricing?

    Hi,
    how can I use the item category group to carry out pricing?
    I want to determine a condition type for item category group DIEN only and no other.
    Thanks for help!
    Florian

    Hi Florian Preuss,
          You should follow the next steps:
    1. Check if the item category group field exist in the pricing catalog to choose it as a field in a table condition, if it doesn't exist (I don't believe that), you should contact to a technical person (ABAP) to add it to the structure KOMPAZ.
    2. Create a condition table with this field (item category group) and others that you need to determine the condition.
    3. Create an access sequence with this condition table.
    4. Create a condition type and assign it the access sequence.
    5. Add the condition to pricing procedure.
    6.. Enjoy it.
    Thanks in advance,
    Mariano.

  • GR amount/line item still showing in Open Item after run F.13

    Dear Exparts,
    We run the F.13 after MIGO and MIRO. The GR/IR line item should clear after run the F.13. But the scenario is that in FBL3N in GRIR G/L Balance, MIRO Line item showing clear but the GRN line item is still showing in Open item. How can it possible and what to do for it. As per my knowledge Both line item should clear after run f.13.
    And how can I get the credit amount in which respect the IR(MIRO) amount cleared.
    Thanks,
    Sourav

    Hello Sourav,
    In the Automatic clearing Program for the items to get cleared they
    should meet the fixed criterian and the user defined criteria (OB74).
    When we execute SAP124(F.13) with the flag "only documents which can
    be cleared" it will display in detailed list only those documents that
    can be cleared. If dont check this field it will generate a list even
    of documents that cannot be cleared.
    For example:
    in the OB74: ASSIGNMENT,FUND & BUSINESS AREA as the criteria.
    And the ASSIGNMENT is not matching and thus the system does not find
    the item suitable or rather eligible for clearing.
    The system groups items according to
    fixed system criteria:
    Company code
    Account type
    Account number
    Reconciliation account number
    Currency key
    BSID-WAERS for customers
    BSIK-WAERS for vendors
    BSIS-PSWSL for G/L accounts
    Special G/L indicator
    The program also groups items according to a maximum of five user
    criteria. Note that the trading partner number and the business area are
    no longer fixed system criteria (in comparison to the former clearing
    programs SAPF123 and SAPF123W). Therefore, if you want to group by
    business area or trading partner number, you have to enter these as user
    criteria.
    Thus initially items are grouped according to fixed criteria one of
    which is company code.
    I would like you to review note 10757 FAQ: MR11, clear GR/IR clearing
    account
    Please also review the documentation of the program SAPF124
    Please also review the help.sap.com documentation on GR/IR Account
    Maintenance.
    http://help.sap.com/saphelp_47x200/helpdata/en/30/1060387db94003e1000000
    9b38f8cf/frameset.htm
    hope this helps
    regards
    Ray
    Edited by: Raymond Moynihan on Oct 19, 2011 5:14 PM

  • Need to count the number of groups in a Crystal Reports 2008 report

    I have created a report with three levels of grouping. There are several items in each level.  I want to count the number of groups.  I have tried countdistinct but it counts the number of items in the lowest level of grouping and I want the number of items in the higher  levels.  This is a distribution data base.  I have the data grouped by date, by truck on each date, and by "run" or load on each truck on each date.  I want to count the total number of groups of truck and run, which is the second level of the grouping.  Any ideas? I am fairly new to Crystal.

    Hi Debbie,
         To count the number of groups please try the folling steps:
    1) Create a formula @reset and place this formula in the page header
        whileprintingrecords;
        numbervar i:=0;
    2) Create another formula @evalgroup place this in the group header where you want to count the values.
        whileprintingrecords;
        numbervar i:= i+1;
    3) Create another formula @display and place this in report footer.
        whileprintingrecords;
        numbervar i;
    In order to display the count of details which are printing in the detail section place the eval formula in the detail section and the @display formula in the group footer.
    Hope this helps!!!
    Regards,
    Vinay

  • HT204150 Why aren't my contacts showing up on iCloud from my phone?

    So, I am attempting to use the icloud feature to create groups. However, when I go on my icloud contacts, none of my contacts show up from my phone! My accounts are linked, etc etc. How do I get them to show up? The only thing that shows up is my name.
    One odd thing that happened when I did the iphone ios version 5 update is all my contacts were erased. That really ticked me off. So what is it that apple and I cannot seem to work through? Is this a technical problem?
    Update: starting to realize that I am adding all my contacts to the "on my iphone" list. So is there any way to quickly transer the on my iphone contact group to my icloud group so i can make more groups?
    grumble grumble. >:/
    Thanks in advance.

    Go to Settings>Mail,Contacts,Calendars and tap Default Account in the Contacts section.  Here, select iCloud as the default so new conacts are created in your iCloud account in the future (rather than in On My iPhone).
    Then go to Settings>iCloud, turn Contacts to Off, when prompted choose Delete from My iPhone.  This will delete the iCloud contacts from your phone but not from iCloud.  They will be synced back later.
    Next, download the app My Contacts Backup.  Use the app to back up the contacts on your phone (from the On My iPhone account) as an attachment to an email.  Send this email to yourself.
    Go back to Settings>iCloud and turn Contacts back to On.  This will sync your iCloud contacts back to your phone.
    Open the email you sent earlier and tap the attachment to add the contacts to your phone.  They will be imported to your iCloud account as you set this as your default earlier.
    Finally, to avoid seeing duplicates of your On My iPhone contacts, open your contacts and tap Groups.  You can either tap the On My iPhone group until it's unchecked and tap Done (which will hide these from view); or, you can tap the other groups until On My iPhone is the only one checked and tap Done, then go through these contacts and delete them from your phone.  When finished, recheck the other Groups and tap Done.

  • Count the items in a column with multiple values?

    Hi all
    Is there a way to count the items in a column that allows multiple values?
    Example list:
    Course title:                        Participants:
    Visual Basic Introduction     John Smith; Lois Lane; Clark Kent
    Visual Basic Advanced         John Smith; Lex Luthor
    The result should be "3" and "2" (number of participants), which should be displayed in the list or on the page.
    Is this possible?
    ( I am using Sharepoint 2007 and have access to Sharepoint designer.)
    Thanks!

    Hi dee,
    We can use XSLT to do this in Data View Web Part.
    First, display your list in data view web part.
    Insert a new column in the data view, used to display the count.
    Switch to code mode, add following code within the <td></td>.
    <td>
    <xsl:choose>
    <xsl:when test="@Title!=''">
    <xsl:variable name="count">
    <xsl:call-template name="countChar">
    <xsl:with-param name="str" select="@Title" />
    <xsl:with-param name="count" select="1" />
    </xsl:call-template>
    </xsl:variable>
    count is <xsl:value-of select="$count" />
    </xsl:when>
    <xsl:otherwise>
    count is <xsl:value-of select="0" />
    </xsl:otherwise>
    </xsl:choose>
    </td>
    And put the following template definition outside all the other templates.
    <xsl:template name="countChar">
    <xsl:param name="str" />
    <xsl:param name="count" />
    <xsl:choose>
    <xsl:when test="contains($str, ';')">
    <xsl:call-template name="countChar">
    <xsl:with-param name="str" select="substring-after($str, ';')" />
    <xsl:with-param name="count" select="number($count) + 1" />
    </xsl:call-template>
    </xsl:when>
    <xsl:otherwise>
    <xsl:value-of select="$count" />
    </xsl:otherwise>
    </xsl:choose>
    </xsl:template>
    Done and then you will see the count in the td cell.
    I test with Title column and cut off string with ";" character.
    Thanks & Regards,
    Emir Liu
    TechNet Subscriber Support in forum
    If you have any feedback on our support, please contact [email protected] 
    Emir Liu
    TechNet Community Support

  • Count of Items in BEx Report

    Dear Experts,
    We have a report that contains item level data (multiple records for same item in the report). We would like to see the count of records for these items based on aggregation levels.
    Since the data is on item level, we have same items available in multiple lines that gives me wrong results.
    For e.g, I'd like to see the report that shows the count of items based on some fields like below.
    Region
    Count of Items
    ELAT
    20
    AMEA
    40
    NAM
    38
    So, if I drill down on Sub-region level, I should get the proper count of items as below.
    Region
    Sub region
    Count of Items
    ELAT
    ER1
    10
    ELAT
    ER2
    5
    ELAT
    ER3
    5
    AMEA
    AR1
    40
    NAM
    NR1
    10
    MAN
    NR2
    28
    So, the count is same for the above report with additional drill down on Sub region.
    When I use Exception Aggregation based on reference characteristic, I'm getting results, but, it varies on different aggregation levels (drill downs of other characteristics).
    When I use formula to show '1' for each record, the aggregation shows wrong values, because of multiple records with same item numbers in the report.
    I'm not sure Constant Selection would help me because, these are item level data.
    Any idea on how to achieve this is much appreciated.
    Let me know for any clarifications.
    Br, Harish

    Hi Yasemin ULUTURK,
    I have a similar requirement in which I need to get a count of RKFs in the report.
    This RKF is a subset of items count that was formulated earlier using your approach.
    Since the count is a formula, I cannot use this for creating an RKF based on it.
    Any idea on how to achieve this is highly helpful.
    Br, Harish

  • No contacts show up after setting up CardDav with gmail- any idea how to fix?

    No contacts are showing up after setting up CardDav with gmail. Any idea why?
    Here is how i setup CardDav (with no success)
    1. I removed my old gmail account that was setup with the Exchange protocol, checked that my Exchange-Gmail contacts were no longer showing in my Contacts app, then rebooted my iPad.
    2. I setup my gmail contacts with the CardDAV protocal as per google's instructions (which match everyone's instructions when I googed to troubleshoot). Google's instructions can be found here: http://support.google.com/mail/bin/answer.py?hl=en&answer=2753077 .
    3. No contacts showed up in my contacts app. I have verified all of Google's troubleshooting tips such as ensuring SSL in enabled, etc. There were no problems or error messages when verifying my username and password. I also checked to make sure my contacts were in Google's "My Contacts" group, which they were.
    After pulling my hair out a little, removing the account and going through the steps over and over for an hour, I have given up and gone back to syncing my contacts with the Exchange protocol as per: http://support.google.com/a/users/bin/answer.py?hl=en&answer=138740 . My contacts show up instantly with this method.
    I would like to get cardDAV working, since Google is phasing out Exchange ActiveSync, and CardDAV seams to support more fields etc (although it is not Push sadly).
    Any ideas? Thanks for your reply if you can think of anything.

    Hey there AppJunkie ...
    I'm having this issue too. The odd thing about it is that when using my iOS devices, all of the contacts (and other address books) all show up exactly as I expect and want them to. Now, on Mac OS X, that's a different story. There doesn't seem to be the same functionality between the two Apple operating systems.
    Quite frustrating, as I have clients who expect these to work with no problem on their Mac desktops, since their mobile devices work perfectly. They let me know their mobile devices work, and they want the problem fixed. I have nothing I can say or even suggest. It is very discouraging.
    I have not been able to find any fix or workaround for this, unfortunately.
    ~Laz

  • How to clear "show counter interface ..." counters in IOS 12.1(13)E

    Under IOS 12.1(13)E, one can view the detailed interface counter using the command, for example :
    show counter interface gigabitEthernet 10/7
    It comes up with detailed counters in hexadecimal format. I need to know, if there is way, to clear these counters.
    Thanks,
    Nadeem

    zeus#clear counters ?
    Async Async interface
    BVI Bridge-Group Virtual Interface
    CTunnel CTunnel interface
    Dialer Dialer interface
    FastEthernet FastEthernet IEEE 802.3
    Group-Async Async Group interface
    Line Terminal line
    Loopback Loopback interface
    Multilink Multilink-group interface
    Null Null interface
    Tunnel Tunnel interface
    Vif PGM Multicast Host interface
    Virtual-Template Virtual Template interface
    Virtual-TokenRing Virtual TokenRing
    Lex Lex interface

Maybe you are looking for