22

BIDS を使用して SSRS 2005 レポートを作成しています。私のレポートは日付でフィルタリングされます。選択した日付がデータ行を返さない場合、レポートは空白になり、タイトルのみが表示され、表や列の見出しは表示されません。

またはのようなメッセージを表示するようにこれを変更するにはどうすればよいですNo data available.Report is empty.?

4

3 に答える 3

41

You could set the property NoRowsMessage available on the report's table control like this:

  • Select the Tablix control and press F4 to view the Properties pane.
  • Find the NoRowsMessage property and set the value to whatever message you'd like.
  • You can also to format the message using the Font and TextAlign properties.
    • Set no rows message

Here are some examples of what the report will look like under various settings:

example

Further Reading: Here is a Technet article on how to Set a No Data Message for a Data Region

于 2012-04-13T19:59:13.510 に答える
3

レポートで使用しているデータバインドされた要素を右クリックすると、プロパティNoDataMessageが表示されるはずです。そこには多くのオプションがありますが、キャプションは私が最初に見る要素です。

于 2012-04-13T19:49:13.957 に答える