Expand Minimize
This topic has not yet been rated - Rate this topic

Field Element

SQL Server 2000

Field Element

Describes each field in the dataset.

<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

Remarks

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.

See Also

Report Definition XML Elements

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.