This documentation is archived and is not being maintained.

Leq Element

SharePoint 2003

The Leq element is an arithmetic operator that means "less than or equal to." It is used in view queries similarly to the Eq and Geq elements.



Element Relationships

Parent ElementsChild Elements
And , Or , Where FieldRef, Value


The following example queries for cases where the Expires field value either equals an empty string or is less than or equal to the current date.

        <FieldRef Name="Expires" />
        <FieldRef Name="Expires" />
        <Value Type="DateTime">
          <Today />
    <FieldRef Name="Modified" Ascending="FALSE" />

Related Topics