April 4, 2014 at 2:44 pm
Hi Folks
My new workplace doesn't have the enterprise edition of sql server and now all of my data driven subscription reports are useless. I've done a little searching on the web to see if somebody has been able to replicate the data driven scheduling of reports, passing a data driven parameter to a report with matching email, but nothing I've tried comes even close to working.
As an example of what I need...
The main report lists various things related to person id, with data driven subs I'd set this main report up with a person id parameter and parse the parameter in from a sql query which also included that persons email. Embed report into the email as mhtml or similar. Though if it makes life any easier, the main report already has the persons email addy.
Does anyone have any ideas?
April 4, 2014 at 2:52 pm
I did read through this..
http://www.sqlservercentral.com/scripts/Miscellaneous/31733/
but I can't work out how I would loop through the list of people requiring emails and parse the parameters and emails from my sql query 🙁
April 4, 2014 at 3:19 pm
Have you thought of using SSIS and the RS scripting utility?
I developed a solution using that technique to render PDF versions of a specific report once per month.
Do some Googling for Rs.exe or Rs Utility and you'll find the scripting language is quite powerful.
Should be able to accommodate what you need.
Good luck!
April 7, 2014 at 10:44 am
Simon E Doubt (4/4/2014)
Have you thought of using SSIS and the RS scripting utility?I developed a solution using that technique to render PDF versions of a specific report once per month.
Do some Googling for Rs.exe or Rs Utility and you'll find the scripting language is quite powerful.
Should be able to accommodate what you need.
Good luck!
Thanks Simon - probably a good idea, but learning how to script the job would probably take me longer than working out how a piece of sql would work (and that is bad enough :blush: )
I managed to get it working ONCE with the code here
but have since hit sharepoint OSWS timer errors and it hasn't sent emails since
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply