Page 1 of 1

How to format text in expression editor?

Posted: Thu Dec 11, 2008 10:54 am
by fuhrj
I know that I can right-click a text box and select a text format. However, I notice that if the expression contains two parameters, then the formatting is ignored.

For example, if the expression for a text box contains:

Run Date: {Table1.Parameters["@startDate"].ParameterValue} - {Table1.Parameters["@endDate"].ParameterValue}

and if I set the format to Date, it still shows 12/11/2008 12:23 pm

If each are in the their own text box, formatting works. But I want it in a continuous string for looks purposes.

Can you format in the expression for date?

How to format text in expression editor?

Posted: Thu Dec 11, 2008 5:00 pm
by Edward
Yes, it is possible.

Please do the following trick as in the attached sample report.

Thank you.