Hi All,
I am facing an issue with "Yes / No Checkbox" field while fetching results from CAML Query.
I have created one sitecolumn with "Yes / No" checkbox type & added the same to a list, now I am using the below code in CAML Designer to fetch the selected checkbox items.
<Where>
<Eq>
<FieldRef Name='Selected' />
<Value Type='Integer'>1</Value>
</Eq>
</Where>
(OR)
<Where>
<Eq>
<FieldRef Name='Selected' />
<Value Type='Boolean'>True</Value>
</Eq>
</Where>
In the both cases I am failing to fetch the selected items.
Can any one of you help me on this issue?
Let me know if you have any queries.
Regards,
SPUser.
I am facing an issue with "Yes / No Checkbox" field while fetching results from CAML Query.
I have created one sitecolumn with "Yes / No" checkbox type & added the same to a list, now I am using the below code in CAML Designer to fetch the selected checkbox items.
<Where>
<Eq>
<FieldRef Name='Selected' />
<Value Type='Integer'>1</Value>
</Eq>
</Where>
(OR)
<Where>
<Eq>
<FieldRef Name='Selected' />
<Value Type='Boolean'>True</Value>
</Eq>
</Where>
In the both cases I am failing to fetch the selected items.
Can any one of you help me on this issue?
Let me know if you have any queries.
Regards,
SPUser.