Group by Address

Hello All,
I have a requirement for a report in XML publisher.
We have a report which now has 15 columns and it gives the information of employees.
But due to the space restriction on (A4 paper) the business wants the report in a different format.
provided below are the existing format and the new desired format.
Existing
EmpNum | EmpFName | EmpLName | EmpDept | .|.|.|. |EmpAddr1 | EmpAddr2| EmpCity|...
1 AAA BBB 101 .... 100 HighLand ave, Boston, MA
2 XXX YYY 202 .... 10 freeway , Houston, TX
3 ABC DEF 123 .... 10 freeway , Houston, TX
4 ADE PQR 555 .... 25 Rt 9 , Parlin, NJ
New desired format is... all the employees working at a particular facility should be grouped together and the address of the facility should appear on the top only once and the employees working at that facility should follow and this should be repeated for all the facilities.
EmpNum | EmpFName | EmpLName | EmpDept | .|.|.|.
100 HighLand ave, Boston, MA
1 AAA BBB 101 ....
10 freeway , Houston, TX
2 XXX YYY 202 ....
3 ABC DEF 123 ....
25 Rt 9 , Parlin, NJ
4 ADE PQR 555 ....
please let me know how can this be achieved?
Thanks,

That depends on what the XML structure looks like. Easiest is grouping by Address Id, if you have an address id.
Klaus

Similar Messages

  • Cannot send email to Smart Group from Address Book

    I created several Smart Groups in Address Book but I can't use any of them to send email. When I right-click the group name and choose Send Email, it opens my default email program (Thunderbird) and puts only the name of the Smart Group into the To: field, not the actual addresses.
    If I try to actually send the message, I get the error that (name of group) "is not a valid e-mail address because it is not of the form user@host. You must correct it before sending the email."
    What am I doing wrong? How can I get it to paste the actual addresses and not just the name of the group? I looked at the Edit Distribution List window and all the addresses are there.
    I'm using OS X 10.5.7, Address Book 4.1.2 and Thunderbird 2.0.0.22.
    Thanks in advance.

    What is the exact message you get when sending fails -- does it say there are one or more invalid addresses, or what?
    Having a name in the list without email address or possibly one separated by comma between last and first might result similarly in an invalid address, and Mail will likely refuse to send to any. But if the message is from the SMTP, that might depend on the provider's policies for that.
    Ernie

  • Can't send email to an icloud group in address book

    Hi
    I have set up some groups in icloud. I called one of these groups "Test", with only myself as a group member. In address book, when I right click to send email to "Test", it fires up a new email with the word Test in the email "to" field. If I try to send the email I get the error message "Test" doesn't seem to be a valid email address. It doesn't seem to be filling in the group email addresses in the "to" field.
    Am I doing something wrong?, or is this a known or unknown bug?
    I have other groups set up but I obviously don't want to send test emails out hence the test group "Test"
    Also when I edit the distribution list and right click the group name, "send email to "Test" is greyed out.
    Many thanks in advance

    Bump

  • How can I add multiple addresses to a group within address book?

    I realize you can add in addresses by going to 'Message' then 'add Sender to Address Book,' but what I'm interested in doing is within Apple Mail, adding multiple addresses into a specific group within address book. I've tried to do this using mail scripts but keep getting an error.
    Is it possible to do this?
    Thanks.
    David

    So far, FWIW all I've got is individual AddToAddressBook, then in AB itself, drag and drop one by one from the main list into the desired group.

  • Sharing certain groups in address book rather than the whole address book

    Hi
    I haven't got server yet in our office but we are looking to do this. Currently we just share calendars and other bits and pieces but I'm looking to get server in place. Sharing the address book requires giving a user our iCloud password and letting them look at the address book as a whole. We really only want to share certain phone numbers like our company staff phone numbers rather than our financial clients and other sensitive contacts.
    Is it possible to only allow a "user" to access certain, or 1 group in address book rather than the whole address book library itself by using osx server
    Many thanks

    Hi Jaime,
    I just wanted to jump in here with a quick question... on Mac OS X Server my understanding was that with the open directory, you can't designate organizational groups for the ldap service. Without that ability, how are you limiting what ldap users can see?
    In our setup, our LDAP settings would be similar to
    cn=users,dc=example,dc=com
    What format would you use to say show only members of the group "examplegroup"?
    Thanks!

  • How to create a group in address book from a mail folder

    I have a mailbox folder in mail with about 100 emails. I want to add all of these email addresses to a new group in address book app. How can I add all of theses at one time to a new group. I dont want to add each email address one at a time. Is there a way to select all of my mail and just make a new group from that?

    One of Andreas Amann's Mailscripts will do the address harvesting - I don't know if it puts them in a group.
    AK

  • How can I see the indivduals in an existing group email address - that I created

    I have a group email address on Thunderbird that I created some time ago but have forgotten how to open it up to see who is on it - I need to alter it.
    Thanks

    click on 'Address Book'
    A sub group known as a Mailing List will be a sub group to an address book.
    If Mailing Lists are not showing, click on the small arrow to the left of the address book containing the Mailing List.
    See image below - example shows I have a 'Test' Masiling list as a sub group to 'Personal Address Book'
    Then select the Mailing list to see who is in that Mailing List.
    Removing contacts from a Mailing list does not remove them from the associated address book.
    Removing them from the associated address book will remove them from both address book and Mailing list.
    You can drag and drop new contacts into a Mailing List, but they do need to have a valid email address.

  • Has anyone found a solution to sending mail to groups in Mavericks? I've been given 2 approaches - 1 to type user name group into address and the other to go to address book and right click on group. Neither are satisfactory. Does anyone have a solution?

    Has anyone found a solution to sending mail to Groups in Mavericks? I've been given two solutions - neither are satisfactory. One is to type name of group into address line, the other is to go to address book and right click on group.

    thanks a lot for your kind help... saved me a lot of time and effort, could not believe it at first that the process is so simple but once i followed the steps it worked fine. appreciate your help.

  • How to get group email addresses in BCC on iPad?

    Have recently bought iPad mini, have MacBook so synced. Cannot get group email addresses to show up in iPad addresses book, and can't get them into bcc on mail?

    That is because groups cannot be added in the iPad mail app, as bizarre as that seems. That functionality does not exist. You cannot create groups in the contacts app on the iPad either. Yoy can create them in iCloud.com but not on the iPad itself. You just have to add the email addresses one at a time by tapping the blue + button and selecting the contact from the contacts window that will pop up.
    There are apps that let to email to groups .....
    MailShot
    https://itunes.apple.com/us/app/mailshot-group-email-done/id410279354?mt=8
    Group Email!
    https://itunes.apple.com/ca/app/group-email!-mail-client-attachments/id380690305 ?mt=8

  • How do I use a Contact Group email address as the sender of an email?

    I want members of the contact group to be able to manual select the contact group email address as the SENDER.  This, primarily, so that recipient clients can respond, if necessary, by merely pressing reply (then the entire group gets the email). 
    Possible?

    By "contact group" do you mean a distribution group?  If so, you need to use one of the following the shell commands:
    For Send on Behalf:   Set-DistributionGroup <group alias> -GrantSendOnBahalfTo <useralias>
    For Send As:              Add-AdPermission<group ID>-User<user alias>-ExtendedRights'Send-As'

  • Selected groups in address book

    How to return the names (or ids) of selected groups in Address Book?

    I got responses from other sources that Address Book will not return selected groups.
    So I did this instead ( How to post a script without loosing formatting? )
    -- copy to clipboard
    -- email addresses of selected group(s)
    tell application "Address Book"
    set group_list to name of every group
    set _groups to choose from list group_list ¬
    with title "Address Book Groups" multiple selections allowed true ¬
    OK button name "Select Groups"
    set elist to ""
    set enum to 0
    repeat with ggg in _groups
    repeat with ppp in person in group ggg
    try
    set elist to elist & value of email 1 of ppp & return
    set enum to enum + 1
    end try
    end repeat
    set elist to elist & return -- separate groups
    end repeat
    set the clipboard to elist
    display dialog "Copied " & enum & " addresses to the clipboard" default button "Ok" buttons {"Ok"}
    end tell
    -----

  • Color code groups in address book

    Is there any way to color code groups so that when mail comes in I know to associate it with a specific group. I was able to do this in entourage but have switched to apple mail.

    As already described, create a new Rule in Mail.app (Mail -> Preferences -> Rules), that reads:
    if (ANY) of the following conditions are met:
    (Sender is member of group) (xxxxxxxxx)
    Perform the following actions:
    (Set Color) (Of Background (or text as you prefer) to (Any color you wish)
    Save the rule.
    Before doing that, you might want to create a few Groups (or Smart Groups) in Address Book with the people you want to color.
    Hope this helps.
    Message was edited by: Martin Marconcini (changed sqared brackets for parenthesis)

  • Creating a group in address book from a group of emails

    Hello,
    I would like to create an email group in Address Book from a list of email addresses that was sent to me.
    The scenario:  I receive an email from our team manager for my son's baseball team.  Listed in the "To:" header in the email are the 20 email addresses for the parents.  I would like to copy/paste those emails or highlight/drag them into a new Group created in Address Book.
    How do I do this without adding each individual email into the address book and then dragging each individual contact into the Group?
    Thanks,

    I too am looking for a solution. I found this script on another thread that worked but would rather a more direct connnection.
    http://www.andreasamann.com/MacOSX/Mail_Scripts.html Add Addresses script.

  • How to get the group an address belongs to?

    Hello,
    I have many groups in my Address Book and I'd like to find in
    which is defined one of my addresses?
    I've tried opening one group after the other, but this is as stupid
    as slow. What is the intelligent way to "see" immediatly which
    group an address belongs to?
    dan

    Thank you Jeffrey.
    I have a second problem related to this "address" searching.
    I was searching for 3 close  addresses which are in my
    "All Contacts" group:
    Company CEO
    Company CSO
    Company Technical Director
    When I select any one of these addresses, they appear within
    my "personnal" group when I press Option key.
    This is quite normal, since I created them within this group by "copy" and "paste".
    Unfortunately, when I open my "personnal" group, I can only see
    the first one of these 3 addresses.
    Where is this "apparent" error coming from?
    dan

  • How I use my group Email addresses from my hard drive?

    How do I use may group email addresses from my hard drive at the .mac.
    At the .mac address book, all the names are listed but not my group list.
    Can you help?

    The address book on the .Mac web site does not support the groups that you have defined in Mac OS X's Address book.

Maybe you are looking for