2.308.3 ReportParameter.DataType

The ReportParameter.DataType element specifies the data type of a ReportParameter. This element MUST be specified. The value of this element MUST be a String ([XMLSCHEMA2/2] section 3.2.1) that is one of the following:

Boolean: The value or values for ReportParameter.ValidValues and ReportParameter.DefaultValue and the value or values specified by the user for the ReportParameter are "Boolean".

DateTime: The value or values for ReportParameter.ValidValues and ReportParameter.DefaultValue and the value or values that are specified by the user for the ReportParameter are all "DateTime".

Integer: The value or values for ReportParameter.ValidValues and ReportParameter.DefaultValue and the value or values specified by the user for the ReportParameter are all "Integer".

Float: The value or values for ReportParameter.ValidValues and ReportParameter.DefaultValue and the value or values specified by the user for the ReportParameter are all "Float".

String: The value or values for ReportParameter.ValidValues and ReportParameter.DefaultValue and the value or values specified by the user for the ReportParameter are all "String".

Following is the parent element of the ReportParameter.DataType element.

Parent elements

ReportParameter

The following is the XML Schema definition of the ReportParameter.DataType element.

 <xsd:element name="DataType">
   <xsd:simpleType>
     <xsd:restriction base="xsd:string">
       <xsd:enumeration value="Boolean" />
       <xsd:enumeration value="DateTime" />
       <xsd:enumeration value="Integer" />
       <xsd:enumeration value="Float" />
       <xsd:enumeration value="String" />
     </xsd:restriction>
   </xsd:simpleType>
 </xsd:element>