0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Cognosの値のプロンプトで固定値を使用する

Posted at

Cognosのレポート開発時にプロンプトを設定することがあると思いますが、その際の選択肢をプロンプトの機能で固定値を使用することができます。
固定値を使用すると、2個3個の固定の選択肢のためにクエリーを用意してDBに値を問い合わせに行くというような動作を省略することができます。

設定方法は簡単なので、必要に応じて活用ください。

image.png

① 値のプロンプトのプロパティから、「Static choices (固定値の選択) 」をクリックします。

② 「Add (追加) 」ボタンをクリックします。

③ プロンプトで使用する値と表示する値を入力します。

必要な選択肢分、追加出来たら作業は完了です。
HTMLで実行すると確認できます。

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?