Can someone please help me with this caml query? I have a list view and the list view should only return items created by the current user. Then I also have a textbox to provide values for Title and Comments. I am not sure why the following caml doesn't work?
<Query> <Where>
<Or>
<Or>
<And>
<Eq>
<FieldRef Name='Author' />
<Value Type='Integer'>
<UserID />
</Value>
</Eq>
<Eq>
<FieldRef Name='Title' />
<Value Type='Text'>{Param1}</Value>
</Eq>
</And>
<Eq>
<FieldRef Name='_Comments' />
<Value Type='Note'>{Param1}</Value>
</Eq>
</Or>
<Contains>
<FieldRef Name='RequestStatus' />
<Value Type='Choice'>{Param1}</Value>
</Contains>
</Or>
{Param1} is an asp:textbox server side control with autopostback set to true.
Thanks in advance for all the help.