Solved

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

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

[Webinar] Disaster Recovery and Cloud Management

Learn from Unigma and CloudBerry industry veterans which providers are best for certain use cases and how to lower cloud costs, how to grow your Managed Services practice in IaaS clouds, and how to utilize public cloud for Disaster Recovery

Question has a verified solution.

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

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
Introduction In the following article I’ll be discussing and demonstrating several different ways of how images can be put on a report. I’m using SQL Server Reporting Services 2008 R2 CTP, more precisely version 10.50.1352.12, but the methods ex…
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

867 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now