Welcome to Office and SharePoint Pro Sign in | Join | Help
in Search

SUBSCRIBE to Windows IT Pro Magazine & SAVE 30%      FREE Email Newsletters Vista UPDATE, Windows IT Pro UPDATE & More

Joining two sharepoint lists

Last post 12-29-2007, 11:44 AM by kanchanecone. 1 replies.
Sort Posts: Previous Next
  •  12-05-2007, 3:29 AM 28986

    Joining two sharepoint lists

    Prepared By Rajesh Pillai, Bangalore India.----------------------------------------------------------------------------Joints between SharePoint Lists: As a first step let us create two lists in MOSSa) Customers (Title)
    b) Orders (Title, and a lookup value called 'Customer' - which, you guessed it right, is a lookup on the Customer.Title SPColumn).
    Here are my lists – Customer listOrders List  Cool. Now Open the site in SharePoint Designer, and add a new ASPX - Untitled_1.aspx (that's the default name). Give any name.1. In SPD, go to Data View --> Manage Data Sources2. In the window that appears on the right, create a new Linked source as shown below: 3.Click on "Configure Linked Source" and go ahead and add both "Customers" and "Orders" and click "NEXT"4. Make sure that you choose to Join the contents of the two data sources as shown below - 5. Give it a meaningful name such as "My Customer-Orders" in the "General" tab.6. Superb, now while in the <form> tag in your ASPX, click on Data View --> Insert Data View, your UI should now say "Current Data Source – My Customer - Orders" - "next insert fields to create a view".7. Now from the "Data Source Details" pane, select Customers.Title. and choose - Insert Selected Field as "Multiple Item View" as shown below: 8. Now your aspx page looks like this 9. Now place the cursor in front a particular value - Say "Lee Beyer", and now in the Data Source Details Pane, Select Orders --> Title, and choose to insert as "Joined SubView" like shown below:  10 .Do the join as followed  11. That’s all. Format the page as you like my final page looks like this  Thanks,Rajesh Pillai
    Rajesh Pillai
  •  12-29-2007, 11:44 AM 29100 in reply to 28986

    Re: Joining two sharepoint lists

    Can you please eloborate how to join sharepoint list, i am trying to build a list database for my organisation
View as RSS news feed in XML
SPONSORED LINKS FEATURED LINKS

Order Your Fundamentals CD Today!Get up to speed quickly and learn how to uncover rich information management capabilities with this free SharePoint CD. Keep Project Teams on TrackProtect you project team productivity by keeping SharePoint running. Download this white paper to learn about Continuous Data Protection for SharePoint. Leverage Hosted Exchange and SharePoint See how a business of any size can strategically acquire the messaging and collaboration infrastructure of a Fortune 50 enterprise. Top Factors in a Successful Disaster Recovery PlanAre you gambling with disaster? Chances are, you won't ever experience a Level Four disaster, but even the smaller-scale disasters can paralyze business operations unless you've developed a plan for rapidly restoring IT services. Extend SharePoint to the ExtranetView this web seminar to learn how SharePoint administrators can improve partnering and collaboration effectiveness. SharePointConnections Conference Fall 2008Don’t miss the premier event for Microsoft IT Professionals in Las Vegas, November 10-13. Register and book your room by August 25 and receive a FREE room night (based on a three night minimum stay). Doing it Right – Deploying the Perfect SharePoint!In-person training on how to deploy the optimal SharePoint infrastructure. Starts Sept. 16th in 8 U.S. cities. Early Bird pricing - $99! Find a new job on the all new IT Job Hound!Search jobs, post your resume, and set up job e-mail alerts! Get Specialized SharePoint Training!SharePoint MVPs Dan Holme, Michael Noel, and Andrew Connell share their perspective and expertise in these exclusive eLearning seminars. One Event for developers and one for IT pros. Choose the one that fits your needs! Top 5 SharePoint Migration StrategiesAchieve stress-free content and user migration to an online collaboration platform! View this on-demand seminar to learn how. Access Expert SharePoint Solutions for only $5.95!With the online Monthly Pass, you can have all the SharePoint solutions in Windows IT Pro right at your fingertips, including access to the more than 10,000 articles in our content archives! You'll also receive a full digital copy of the latest issue of W Leverage Your SharePoint InvestmentAre you losing productivity or profit due to poor document management processes? View this seminar to learn how MOSS can help.