Here is the right way...thanks to Google:
Target: field1 && field2 && field3
Correct CAML:
<where>
<and>
<and>
<eq>
<fieldref name="field1">
<value type="Text">val1</value>
</fieldref></eq>
<eq>
<fieldref name="field2">
<value type="Text">val2</value>
</fieldref></eq>
</and>
<eq>
<fieldref name="field3">
<value type="Text">val3</value>
</fieldref>
</eq>
</and>
</where>
Happy CAMLing!
No comments:
Post a Comment