Partager via


Field Element (RDL)

Describes each field in the dataset.

Syntaxe

<Fields >
    ...
        <Field Name="...">
             <DataField> <!-- or <Value> -->...</DataField <!--or /Value -->
        </Field>
    ...
</Fields>

Element Characteristics

Characteristic Description

Data type and length

None

Default value

None

Cardinality

1-n: Required element that occurs once or more than once.

Element Attributes

Attribute Type Description

Name

String

Name of the field within the report. Required.

Element Relationships

Relationship Element

Parent element

Fields

Child elements

DataField, Value

Notes

The field name is the name of the field as it is referred to within the report. The data field is the name of the field that is returned from the query. Field names have to be unique within the containing Fields collection. Data fields do not have to be unique, and multiple fields can use the same data field name.

The Field element must have one and only one child element: either DataField or Value.

Voir aussi

Référence

Report Definition XML Elements

Aide et Informations

Assistance sur SQL Server 2005