Query List - Filtering on conditions - how to group conditions

  • 18 March 2015
  • 2 replies
  • 4 views

Badge +1


I want to understand the options for grouping filtering conditions in Query List. Is the only option to use the CAML editor? If so, can someone provide examples of how you would implement grouping?

For example:

Status Not Equal to Y                    (condition 1)

and

((          (grouping starts)

XDate is less than current date     (condition 2)

and

YDate is greater than DateY          (condition 3)

)          (grouping ends)

Or

ZDate is greater than current Date     (condition 4)

)

If condition 1 is true, and condition 2 and 3 are true    = True

If conditions 1 is true and condition 4 is true                = True


2 replies

Userlevel 6
Badge +16

I suggest you to solve your CAML with CamlDesigner2013, then use it on your query.

Badge +1

I will take a look at CAML editors/designers.

Thanks.

Reply