Posts Tagged ‘master report’

Master Report without master template name

Andrew Kazyrevich
 
Articles about Master Report arrive in a jostling crowd, but before we take the topic off the table let me show you just one more useful trick.
 
All the examples on Master Reports, available online, explicitly specify MasterReport property in the child templates:
 

 
As useful as it might be for a “child-only” template (which always gets rendered within some specific master report), it should not stampede us into assuming that it is the best solution ;) (more…)

January 14th, 2012

Generate reports from a scheduled task

Andrew Kazyrevich
 
As your humble correspondent occasionally grumbles, generating SharpShooter reports from a WinForms app is not programmatically ordained. You have a choice, and a strong one: command line, coming along with the option of “automating everything”.
 
When a report needs to be generated on a regular basis, a scheduled task with a console app looks like a decent solution to eliminate a human. This post will show in detail, how to setup the necessary infrastructure. (more…)
January 10th, 2012

Master Report from console application

Andrew Kazyrevich
 
Master Report solution we discussed in the previous post works great but it lacks automation: someone has to go and manually select the master and child templates in order to get the combined result.

But what if we needed to email a few dozens of such reports every day and didn’t want to hire a monkey?

Then we’d probably need a scheduled task which would run daily and generate those reports based on some input parameters and email them over. Seems like a hard one for SharpShooter? Not at all – read on for the solution! (more…)
December 26th, 2011

Master Report, or how to create a Happy New Year header

Andrew Kazyrevich
 
Master Report solution is indispensible when a number of your reports share some common part – most often, a static header or footer. Yet for such an ordinary task, amazingly little is said online about the exact steps we must go through to implement a Master Report in SharpShooter – so in this post let me regale you with the details! (more…)
December 26th, 2011