When I run the following query I get an error:
<Where>
<And>
<Eq>
<FieldRef Name="IssueLOB" LookupId="TRUE" />
<Value Type="Lookup">1</Value>
</Eq>
<Eq>
<FieldRef Name="IssueBucket" LookupId="TRUE" />
<Value Type="Lookup">1</Value>
</Eq>
<Eq>
<FieldRef Name="IssueStatus" LookupId="TRUE" />
<Value Type="Lookup">1</Value>
</Eq>
</And>
</Where>
However, when I run the following query(minus one of the Eq statements) everything works fine:
<Where>
<And>
<Eq>
<FieldRef Name="IssueLOB" LookupId="TRUE" />
<Value Type="Lookup">1</Value>
</Eq>
<Eq>
<FieldRef Name="IssueBucket" LookupId="TRUE" />
<Value Type="Lookup">1</Value>
</Eq>
</And>
</Where>
Can anyone point me in the right direction? Thanks very much in advance.