Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

i got a CAML-Query, which (essentially) pulls the IDs from a lookup field. Then i got another one, which querys the target of the lookup to get the date from that list.

So is there a possibility to design the CAML-Query in a way, that i get the referenced (lookedup) target list with one query instead of two?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You can join lists together like you can tables with CAML. Please refer to the MSDN link.

CAML Joins MSDN

share|improve this answer
    
Uh well - somehow i didn't manage to use the word "join" in sharepoint. I will post some results later... –  Grumbler85 Oct 29 '12 at 11:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.