• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 517
  • Last Modified:

Reporting Mailto: to group email

I created a company directory p[ulling employee info out of the ADO. Th report lists
The Employees, theyr Emp ID, cell# office, depatrment and email address.
I have added the mailto:  to the email address  field so a person can click on the email and open up the email window.  What i want to create now is the same by department or office.
This means that if i click on the office value in the office colum i want the report to gather up all the email addresses  of employees who have that same value in the office colum and string all their email address to gather and to the mailto:  function.

Info.
sql 2008 and reporting services. Report created in visual studio. The report pulls info from a pre populated table in the sql database. Sorting is allowed by Employee name, office and department on the report.

Thank you

0
acardullo
Asked:
acardullo
  • 2
1 Solution
 
Auric1983Commented:
acardullo,

Are you running Active Directory & Exchange??  The easiest solution to this problem would be to create distribution lists for each office & department...  department@company.com etc. rather than needing to build that list in a report.

If you need to build it in the report you will need to use a CTE Expression to build the string

http://www.codeproject.com/KB/reporting-services/Concatenate_Field_Values.aspx

0
 
acardulloAuthor Commented:
Yes, Ad and Exchange but crating DL's is not an option in this case.  Trust me. Love to create a dynamic DL but in this case this is not an option.
0
 
Auric1983Commented:
Wow, you know it always boggles the mind when customers won't use the tools they have available to them and would rather spend time or money developing their own custom directory.

0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now