Hi,
Can someone tell me what is wrong with this query? It works on my test server. However, when the code is moved to my staging server. It returns no results even though the data is there. I think I may have the nested and/or statments incorrect. (Below is what the query evaluates to in debug mode).
<Where>
<And>
<Eq>
<FieldRef Name='PostCategory'/>
<Value Type='LookupMulti'>Customer Service</Value>
</Eq>
<Or>
<Eq>
<FieldRef Name='Target_x0020_Client' />
<Value Type='Choice'>All</Value>
</Eq>
<Eq>
<FieldRef Name='Target_x0020_Client' />
<Value Type='Choice'>SSBC</Value>
</Eq>
</Or>
</And>
</Where>
<OrderBy>
<FieldRef Name='Created_x0020_Date' Ascending='FALSE'/>
</OrderBy>
thanks,
Sherazad.
Sherazad