17.06.2013 Views

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

Beginning Microsoft SQL Server 2008 ... - S3 Tech Training

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 17: Reporting for Duty, Sir! A Look At Reporting Services<br />

538<br />

Because the query has already trimmed things down to just the columns we need (and, as it happens,<br />

even grabbed them in proper order, but we could reorder things if we wanted to), I just selected everything<br />

and moved everything into the details box.<br />

The Page and Group fields here would allow us to set up sort hierarchies. For example, if we wanted<br />

everything to go onto separate pages based on individual customers (say, for the sales person to understand<br />

the status of their particular customers) we could move Company Name up to the Page level.<br />

Likewise, we might instead do groupings (instead of pages) based on product name so that our people<br />

pulling the orders from inventory can grab all the product needed to fill all outstanding orders in one trip.<br />

Again, click Next, and we are presented with a Table Style dialog. Choose whatever is of your liking (I’m<br />

just going to stick with Slate) and again click Next to be greeted with the summary of what your report<br />

selections were. Change the name to “Non Credit Card Orders”, and click finish to create the report definition,<br />

as shown in Figure 17-27 (yours may look a tad different if you chose a different style than I did).<br />

The Toolbox and Report Data panes may be located slightly differently depending on your particular<br />

configuration of Visual Studio. Both have been made visible and docked here for demonstration purposes.<br />

Figure 17-27<br />

If you’re familiar with other report designers, this will seem mildly familiar, as the WYSIWYG editor<br />

we’re presented with here is somewhat standard fare for report designers (certainly some are more

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!