Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Microsoft Dynamics NAV 2009: Professional Reporting

You're reading from   Microsoft Dynamics NAV 2009: Professional Reporting Discover all the tips and tricks for Dynamics NAV report building

Arrow left icon
Product type Paperback
Published in Oct 2011
Publisher Packt
ISBN-13 9781849682442
Length 352 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Steven Renders Steven Renders
Author Profile Icon Steven Renders
Steven Renders
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Microsoft Dynamics NAV 2009: Professional Reporting
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
1. Charts and Dimensions FREE CHAPTER 2. Creating a Report in the Classic Client 3. Creating Role Tailored Reports 4. Visualization Methods 5. Developing Specific Reports 6. Other Reporting and Business Intelligence Tools 7. A View of the Future Index

Expressions


As you have probably noticed when we created reports in Visual Studio, report items use expressions to retrieve data from fields and perform calculations.

Some expressions are created for you automatically. For example, when you create a new report and drag fields from the dataset onto report items, the values of text boxes are automatically set to expressions that refer to the dataset fields by name.

For example:

=First(Fields!Customer__Sales__LCY__Caption.Value)
=Fields!Customer__Sales__LCY__.Value
=Sum(Fields!Customer__Sales__LCY__.Value)

Tip

Expressions are like formulas in Excel

Expressions can be compared with formulas in Excel. For example the value of a text box can be a constant or an expression, just like any cell inside an Excel worksheet.

The most common expression, as you can see in the examples above, refers to a field in the dataset. Besides dataset fields (Fields!) you can also reference other types of items, like for example:

  • Text boxes on the report (ReportItems!)

  • Global...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image