Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running a report for mulitple clients

Status
Not open for further replies.

samiam07

Technical User
Jan 29, 2007
80
US
Using SQL Server 2008 SP2, SSRS 2008 SP2

I have a working report with multiple tables, charts, etc.
The end result is exactly what it should be....for a single client. We have almost 100 clients and growing, so I need to run this report for each client.

I don't want to run one at time, nor is it practical to set up a subscription for each client. Just the maintianence would be a nightmare.

There must be way to run this report for each client in some kind of automated way.
I've looked at running them via a command prompt, but have not been able to get that to run.

Is there a way to create a SQL command that would pull in all the client id's and call the report once for each client?

Any guidance or assistance would be appreciated.
sam
 
Yup - you need to create a data driven subscription

See this:
Rgds, Geoff

We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.

Please read FAQ222-2244 before you ask a question
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top