Share via


DataSetReference Element (RDL)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Defines a dataset that contains a query that returns a set of valid values or default values for a report parameter.

Element Relationships

Relationship Element

Parent elements

DefaultValue Element (RDL), ValidValues Element (RDL)

Child elements

Element Cardinality Type

DataSetName Element, DataSetReference (RDL)

[1]

String

LabelField Element (RDL)

[0-1]

String

ValueField Element (RDL)

[1]

String

Remarks

The ValidValues element can have only one child element: DataSetReference or ParameterValues. When you use DataSetReference as a child element of ValidValues, the query within the dataset referenced by the DataSetName element is used to get a list of possible values for the parent report parameter.

The DefaultValue element can also have only one child element: DataSetReference or Values. When you use DataSetReference as a child element of DefaultValue, the query for the dataset referenced by the DataSetName element is used to get the default value for the parent report parameter. The default is the first value in the field specified by the ValueField element.

See Also

Reference

Report Definition Language XML Schema
Report Definition XML Elements

Concepts

Report Definition Language Data Types

Other Resources

Development (Reporting Services)
Defining Report Datasets
Working with Parameters in Reporting Services

Help and Information

Getting SQL Server 2008 Assistance