Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. SharePoint
  4. Can CAML query handle multiple lists?

Can CAML query handle multiple lists?

Scheduled Pinned Locked Moved SharePoint
databasesalestutorialquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    Clark Kent123
    wrote on last edited by
    #1

    Is it possible for CAML query to handle multiple lists? If so, how would you write a single query to accommodate multiple lists? Any links for references? I can only find references on writing a query for a single list only. For example I want to write a summary page combining the following lists: Address List Phone Number List Customer Name List To create Customer Summary that will combine all the lists into one. Is this possible?

    I 1 Reply Last reply
    0
    • C Clark Kent123

      Is it possible for CAML query to handle multiple lists? If so, how would you write a single query to accommodate multiple lists? Any links for references? I can only find references on writing a query for a single list only. For example I want to write a summary page combining the following lists: Address List Phone Number List Customer Name List To create Customer Summary that will combine all the lists into one. Is this possible?

      I Offline
      I Offline
      Ingo
      wrote on last edited by
      #2

      Clark Kent123 wrote:

      To create Customer Summary that will combine all the lists into one.

      I'm not sure, but as far as I know it's not possible with CAML, but you could use LINQ or you could use .NET for accessing and combing Lists.

      ------------------------------ Author of Primary ROleplaying SysTem How do I take my coffee? Black as midnight on a moonless night. War doesn't determine who's right. War determines who's left.

      C 1 Reply Last reply
      0
      • I Ingo

        Clark Kent123 wrote:

        To create Customer Summary that will combine all the lists into one.

        I'm not sure, but as far as I know it's not possible with CAML, but you could use LINQ or you could use .NET for accessing and combing Lists.

        ------------------------------ Author of Primary ROleplaying SysTem How do I take my coffee? Black as midnight on a moonless night. War doesn't determine who's right. War determines who's left.

        C Offline
        C Offline
        Clark Kent123
        wrote on last edited by
        #3

        Thanks for that reply. I have been doing more research and some people in other forums suggest to try using a "Join" query. I will give that a shot. This could be so much easier if I could use SQL. But oh well. Thanks though.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups