Microsoft SQL Server 2014 Unleashed
by Ray Rankins, Paul Bertucci, Chris Gallelli, Alex T. Silverstein
Understanding Expressions
A powerful feature of report development is the use of script expressions to dynamically populate report fields and other property values. Report expression syntax is organized into two logical groups: simple and complex. Complex expressions are simply the Visual Basic .NET (VB.NET) expressions you’ve used for years. Simple expressions are a newer kind of syntax, allowing for shorthand expression of simple values. For example, instead of expressing a ProductID field value as Fields!ProductID.Value, you can express it simply as [ProductID]. Simple expression syntax is summarized with examples in Table 48.2. (Complex expressions are summarized in Table 48.3.)
TABLE 48.2 Simple Expression Syntax
TABLE 48.3 SSRS Complex ...
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