2.308 ReportParameter
The ReportParameter element specifies information about a parameter to a Report. Within a ReportParameter, the expression User!Language (rather than Report.Language) MUST be used for all language-dependent expressions and operations.
The following are the parent element, attribute, and child elements of the ReportParameter element.
Parent elements |
---|
Report |
Attributes |
---|
Child elements |
---|
The following is the XML Schema definition of the ReportParameter element.
-
<xsd:complexType name="ReportParameterType"> <xsd:choice minOccurs="1" maxOccurs="unbounded"> <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> <xsd:element name="Nullable" type="xsd:boolean" minOccurs="0" /> <xsd:element name="DefaultValue" type="DefaultValueType" minOccurs="0" /> <xsd:element name="AllowBlank" type="xsd:boolean" minOccurs="0" /> <xsd:element name="Prompt" type="StringLocIDType" minOccurs="0" /> <xsd:element name="ValidValues" type="ValidValuesType" minOccurs="0" /> <xsd:element name="Hidden" type="xsd:boolean" minOccurs="0" /> <xsd:element name="MultiValue" type="xsd:boolean" minOccurs="0" /> <xsd:element name="UsedInQuery" minOccurs="0"> <xsd:simpleType> <xsd:restriction base="xsd:string"> <xsd:enumeration value="False" /> <xsd:enumeration value="True" /> <xsd:enumeration value="Auto" /> </xsd:restriction> </xsd:simpleType> </xsd:element> <xsd:any namespace="##other" processContents="skip" /> </xsd:choice> <xsd:attribute name="Name" type="xsd:normalizedString" use="required" /> <xsd:anyAttribute namespace="##other" processContents="skip" /> </xsd:complexType>