Skip to Content
Professional Microsoft SQL Server 2012 Reporting Services
book

Professional Microsoft SQL Server 2012 Reporting Services

by Paul Turley, Robert M. Bruckner, Thiago Silva, Ken Withee, Grant Paisley
June 2012
Intermediate to advanced
912 pages
23h 35m
English
Wrox
Content preview from Professional Microsoft SQL Server 2012 Reporting Services

Chapter 21

Using Embedded and Referenced Code

What's in this chapter?

Building advanced expressions

Using custom code to extend formatting

Using custom code to apply business logic

The real power behind Reporting Services is its ability to creatively use data groups and combinations of report items. Calculations and conditional formatting may be added by using simple to intermediate programming code. Whether you are an application developer or a report designer, this chapter contains important information to help you design reports to meet your users' requirements and to raise the bar with compelling report features.

Perhaps we've put the cart before the horse with regard to expressions. In previous examples, you typed expression text without receiving an explanation. This couldn't be avoided, because using expressions is central to doing a lot of interesting things in Reporting Services. But we've just gotten started!

Any textbox bound to a dataset field or built-in field actually contains an expression. But in an effort to simplify the design interface, expressions are no longer displayed in the Report Designer as they were prior to the 2008 version of Reporting Services. Perhaps this might make life less hectic for entry-level report designers, but the rest of us have to be mindful that what we see in the Designer is not exactly what's going on behind the report design surface.

You'll recall that you can build simple composite expressions in a textbox by dragging items from ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Microsoft SQL Server 2012 Reporting Services

Microsoft SQL Server 2012 Reporting Services

Stacia Misner
Professional Microsoft SQL Server 2014 Integration Services

Professional Microsoft SQL Server 2014 Integration Services

Brian Knight, Devin Knight, Jessica M. Moss, Mike Davis, Chris Rock

Publisher Resources

ISBN: 9781118237137Purchase book