Add data to a data-driven control

For data-driven controls, you insert data items from the package.

Procedure

  1. On the Source tab Source tab icon., drag query subjects or query items to the control.
  2. To add an image to the data in the control, drag the appropriate data item to the Icon box.
  3. If the data that will appear in the control depends on other data that you do not want to show, drag the appropriate data item to the Extra Items box.

    For example, you add Product type to a data list box control and you want to filter the product types that appear in the control based on a product line selected in another control. To filter the data, you must drag Product line to the Extra Items box.

    Tip: IBM® Cognos® Report Studio can automatically copy data items from other controls when you create connections between controls.
  4. If the control is a data deck and you want to create a default card that will appear when no other card matches the variable value passed to the deck, in the Properties pane, click Yes for the Default Card property. Then click the No Data Contents tab No Data Contents tab icon. for the deck and insert the objects that you want to appear on the default card.