FlexReport for WPF
パラメータの操作

Parameters are used to take inputs from users prior to generating the report. The users can answer the prompt prior to report generation. The output of the report depends on the response of the user for the parameter value. FlexReport adds new properties for defining Parameters. The Data tab defines different Parameter fields, such that each parameter has it's own set of properties.

FlexReport のレポートパラメータを使用して、以下のタスクを実行できます。

レポートへのパラメータの追加

レポートにパラメータを追加する手順は次のとおりです。

  1. C1FlexReportDesigner.exe アプリケーションを実行します。
  2. 新しいレポートを作成します。レポートをデータソースに連結します。これはメインデータソースです。レポートが設計モードで開かれます。
  3. [データ]タブをクリックします。
  4. [データソース]を右クリックし、[データソースの追加]をクリックして、パラメータを指定するためのデータソースを追加します。レポートに追加するパラメータと同じ数のデータソースを追加します。
       
  5. [パラメータ]を右クリックし、コンテキストメニューから[パラメータの追加]を選択します。
  6. パラメータを使用して実行するタスクに応じて、[プロパティ]ペインからパラメータのプロパティを設定します。