SSRS Tip: Using labels for dynamic texts in SSRS reports – Dynamics Ax 2012
Community Member
Microsoft Employee
Dynamic text in the reports makes them more readable and meaningful. In this article we will see how we can use labels from AX to construct your dynamic text. The string format option comes handy to help us do this.
Here is how you must specify a string text with labels in it.
Open the report control properties and on the property “Value”, select the expression option and place your text in the format seen here.
=System.String.Format(“This is a label id converted at run time {0}”, Lables!@SYS1560);
You can also use report or data base fields like Fields!CustTable.Value to construct your Dynamic text.
For more tips and learning about SSRS – AX 2012 order the book Dynamics AX 2012 Reporting Cookbook authored by me.
Related articles
- Dynamics Ax 2012 reporting cookbook for SSRS – Dynamics Ax 2012 (kamalblogs.wordpress.com)
- SSRS Tip: Speed up RDP based SSRS reports testing in Dynamics Ax 2012 (kamalblogs.wordpress.com)
- SSRS tip: Take care that VS and AX client are in the same layer for SSRS – Dynamics AX 2012 (kamalblogs.wordpress.com)
- SSRS tip: How to set the page size for a SSRS report in Dynamics Ax 2012 (kamalblogs.wordpress.com)
- SSRS tip: No row message in Dynamics Ax SSRS 2012 (kamalblogs.wordpress.com)
This was originally posted here.
*This post is locked for comments