Adding a Static List Parameter

The following example shows how to display a static drop-down list field on the Report Parameters page:
Figure 1. Defining a parameter for a static list
<PARAMETER>
  <DISPLAYNAME>Completed</DISPLAYNAME>
  <BINDNAME>Accepted</BINDNAME> 1
  <TYPE>TEXT</TYPE>
  <LOOKUP>
    <OPTION>
      <CODE>1</CODE> 2
      <DESCRIPTION>True</DESCRIPTION> 3
    </OPTION>
    <OPTION>
      <CODE>0</CODE>
      <DESCRIPTION>False</DESCRIPTION>
    </OPTION>
  </LOOKUP>
</PARAMETER>
  1. Accepted is the name of the parameter in the RPT file.

  2. The CODE element is the corresponding value for the parameter.

  3. The DESCRIPTION element will be displayed in the list.