Solved

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

Posted on 2014-11-28
3
84 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

Free Webinar: AWS Backup & DR

Join our upcoming webinar with experts from AWS, CloudBerry Lab, and the Town of Edgartown IT to discuss best practices for simplifying online backup management and cutting costs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adding SQL Server Browser in after install is complete 8 29
T-SQL to copy a database 37 66
SQL eating up memory? 16 38
SQL Get Store Procedure Column Name As Row 5 39
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…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

756 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