I have the following CAML:
<Where>
<And>
<Eq>
<FieldRef Name='Author' LookupId='TRUE' />
<Value Type='User'>473</Value>
</Eq>
<Eq>
<FieldRef Name='Datum' />
<Value Type='DateTime'>2015-06-05T00:00:00Z</Value>
</Eq>
</And>
</Where>
In my list I have 8 items, 7 of these have Author
equals 473
and 2 of these have Datum
equals 2015-06-05. Whatever value I pass to the Datum
i always get 7 items.
What is wrong?