April 2007 - Posts

Leaving out Parameters on SQL Reporting Services

Reporting Services puts parameter selection before the top of the report, with (at most) 2 parameters on a row. If your report has a lot of parameters (my example below has 5), the parameter section can take up a lot of room:

As an aside, having multiple parameters is better than having multiple reports which differ only by a WHERE clause in the database. Parameters are your friend - it's just the parameter display (which is not configurable at all) that I'm trying to look at here.

So taking up a lot of screen real estate with parameters is a bad thing. If the report already has default values set for parameters (a must), I reckon that if a parameter only has a few options, and the default is going to be used 80% of the time, one solution is to mark the parameter as "Hidden" and then provide a link in the report which will toggle it. Here's my example of the same report with only 3 parameters:

In my example with only 3 parameters, more of the space is dedicated to the report and less to the parameters. I've shown what the current current parameters are so when the report is printed or exported, the settings used to run it are visible.

My "click to change" text is just a label that has the "Action" property set to run the same report with the changed parameter (remember, I used parameters that only have two values). An additional task is to set the text from an expression, but I reckon getting the text into this plain english format is worth it.

Side another aside, I thought I'd blog this because I've been listening to Adam Cogan's session from SQL Code Camp NZ and checking out the SSW Rules to Better SQL Reporting Services 2005, both very helpful. Just thought I'd add to the collected wisdom :-)

Tags: reporting services, parameters, design, default

OT: My Start Menu as at April 2006

Scott Kuhl has put out the challenge to "Show us your Start Menu".

Mine is below. It's horribly mis-representative of what I run because a) I've used TweakUI to ensure that some programs never make it to the frequently used list, and b) because I'm training myself to use Launchy to run things from the keyboard rather than the mouse and Start Menu (I don't think running a program using Launchy makes it appear on the frequently-used programs list, but I'm not 100% sure).

Here's some points of interest from looking at my Start Menu screenshot:

  • I'm running Windows XP (I don't believe there's even a timeframe for implementing Vista within the organisation I work in) with the Royale skin.
  • I've opted for small icons on the Start Menu and a maximum of 14 program shortcuts, because I like to see more, and don't really care about nice 48x48 icons (especially since some of the programs I used didn't have 48x48 icons anyway).
  • I run Maxthon  - and have since MyIE days -  but am looking at FireFox.
  • I should probably remove "Photo Editor" from the pinned programs, I use Paint.NET for image editing now.
  • I like having the Control Panel display as a menu.
  • I don't like all the "My" shortcuts that normally inhabit the top-right section - I can get to the folders pointed to be these easily anyway as I always have at least one Windows Explorer instance open. In fact I have cleaned out most of the defaults on the right-hand side...how many times will I ever use "Set Program Access and Defaults"?

Looking at Scott's and my Start menu, I have a few questions that have never occured before. Why can't I make the whole thing wider (or at least the left pane)? Why doesn't text for long items wrap (when showing small icons)? And why can't I have a login picture, even though I'm on a domain?

Lastly, Scott, I'm jealous of your XP skin :-)

Tags: windows, start menu, programs