Last post Aug 04, 2008 06:47 AM by gauravp
Jul 25, 2008 10:04 AM|beetle54|LINK
Hey Sharepoint Developers,
I'm running into a strange issue with my CAML query. I'm querying on finding a specific set of listiems, but my query is returning all listitems in my list. Below is a my caml query:
@"<Query><Where><Eq><FieldRef Name='Candidate' LookupId='TRUE'/><Value Type='Lookup'>"
I'm search for the Candidate Lookup field based on its lookupid. But it doesn't. The query reutrns all listitem records.
Jul 30, 2008 03:44 PMfirstname.lastname@example.org|LINK
Aug 04, 2008 06:47 AM|gauravp|LINK
You need to remove <Query> and </Query> tag from your query.
(and it is CAML query not CMAL query)