Solved

Sending SSRS reports if a date in the report's result set is in 5 days time

Posted on 2014-11-28
3
94 Views
Last Modified: 2014-12-10
I've got a report I want to send to a recipient dependent on whether the date field in the tablix is five days from today's date. Can I do this via a subscription/data driven subscription in SSRS?
0
Comment
Question by:Grffster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
Nico Bontenbal earned 500 total points
ID: 40471504
Yes, you can do this with a data driven subscription.
Create a query to retrieve subscriber data that doesn't return any rows when there aren't and dates five days from now. You have to create a query for this similar to the one that is used by the tablix. You can't refer to the tablix in your subscription. Only to an SQL statement. See the documentation to learn how to use data driven subscriptions:
http://msdn.microsoft.com/en-us/library/ms169673.aspx
0
 

Author Comment

by:Grffster
ID: 40473370
Fab, thanks Nicobo. I'll give it a go and let you know how I get on.
0
 

Author Closing Comment

by:Grffster
ID: 40491648
Works fab thanks.
0

Featured Post

Do you have a plan for Continuity?

It's inevitable. People leave organizations creating a gap in your service. That's where Percona comes in.

See how Pepper.com relies on Percona to:
-Manage their database
-Guarantee data safety and protection
-Provide database expertise that is available for any situation

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how the fundamental information of how to create a table.

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question