Solved

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

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
It is helpful to note: This is a cosmetic update and is not required, but should help your reports look better for your boss.  This issue has manifested itself in SSRS version 3.0 is where I have seen this behavior in.  And this behavior is only see…
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

707 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

12 Experts available now in Live!

Get 1:1 Help Now