Home > Ax 2012, Dynamics Ax, Dynamics Ax Books, SSRS Reports > SSRS Tip: Using labels for dynamic texts in SSRS reports – Dynamics Ax 2012

SSRS Tip: Using labels for dynamic texts in SSRS reports – Dynamics Ax 2012

September 16, 2013 Leave a comment Go to comments

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.

7720EN_MockupCover_Cookbook

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: