I am in a scenario where I need to build my CAMLQuery dynamically. Have any of you tried this before? I'm rather new to CAML and find it strange. What I want to do is to build several AND/EQ statements like SQL:
SELECT * from SPList WHERE LinkTitle = 1 AND LinkTitle = 3 AND LinkTitle = 7 AND ...
I want to pass in the values for the AND statements as an array, so obviously I have to do a loop to build my CAML. But how do I handle the strange way of nesting the AND's and EQUALS?
Code samples are much appreciated!
Thanks in advance!