Udostępnij za pośrednictwem


Operator Element (RDL)

Specifies the operator to use to compare the values in the FilterExpression and FilterValues elements.

Syntax

<Filter>
       ...
        <Operator>...</Operator>
       ...
</Filter>

Element Characteristics

Characteristic Description

Data type and length

String

Default value

None

Cardinality

1-1: Required element that occurs once and only once.

Element Relationships

Relationship Element

Parent element

Filter

Child element

None

Remarks

The Operator element must contain one of the following string values:

  • Equal
  • Like
  • NotEqual
  • GreaterThan
  • GreaterThanOrEqual
  • LessThan
  • LessThanOrEqual
  • TopN
  • BottomN
  • TopPercent
  • BottomPercent
  • In
  • Between

Like uses the same special characters as the Like operator in Microsoft Visual Basic .NET. For more information, see the Visual Basic .NET documentation on msdn.microsoft.com.

See Also

Reference

Report Definition XML Elements
FilterExpression Element (RDL)
FilterValues Element (RDL)

Help and Information

Getting SQL Server 2005 Assistance