I need to get items from my list where multiLookup field contains value (for example, value is 42) or has no values. First part is simple:
<Eq>
<FieldRef Name='mlookup' LookupId='true' />
<Value Type='Integer'>42</Value>
</Eq>
Problems in second part.
I tried to use <IsNull><FieldRef Name='mlookup' /></IsNull> but it falls with ArgumentException ("Value does not fall within the expected range.")
Is there any solutions for my problem?
Thanks in advance.
<IsNull><FieldRef Name='mlookup' /></IsNull>did you remove the<Eq>? This should work:<Query><Where><IsNull><FieldRef Name="Customer" /></IsNull></Where></Query>– eirikb Oct 16 '12 at 5:51