2

I am using SSRS 2005. The issue is I would like to place, in numbers so if number is 23455 it should be displayed as 23,455 I know how to do this I have two data types in this field int and double. What I did to accommodate it is changed the numbers to strings but if I extract them to Excel they show green triangle.

To eliminate green triangle in Excel I used CDEC() function which converts the string to number by doing this I loose , in the numbers.

I was wondering if it is even possible to place a comma within the field which has two different datatypes i.e. double and int.

4

1 に答える 1

5

ストリングスはあなたの友達ではありません!数値を文字列に変換しないでください。

コンマを含むようにセル (テキストボックスまたはプレースホルダー) の形式を設定する必要があります。テキスト ボックスまたはプレースホルダーを右クリックして、プロパティ ダイアログを表示します。数値ペインを使用して書式を設定します。(これとまったく同じ設定をプロパティ ペインでも設定できます。

これらを使用すると、数値がセル内の数値のままになり、文字列に変換せずに書式設定が Excel にエクスポートされます。

SSRS Textbox プロパティ ダイアログ SSRS プロパティ ペイン

于 2012-11-01T15:37:16.550 に答える