How can I display data from three joined SharePint Lists using a single Data Form Web Part<p align=left><font face=Arial size=2>Hi,</font></p> <p align=left> </p> <p align=left>I would like to display three joined SharePoint Lists (i.e. namely Projects, ProjectPhases and Project_Reports) in one Data Form Web Part. Although I was able to dsplay data from the parent list (which is the Projects List), I am having trouble in displaying corresponding data from the child lists (i.e namely, ProjectPhases and Project_Reports lists).</p> <p align=left> </p> <p align=left>The parent list, Projects, is associated to the child lists by it's Project Name (being known as @Title). The child lists have a lookup field called Project which uses Project Name fom the Projects list (SharePoint labels it as @Project).</p> <p align=left> </p> <p align=left>I am using the following two lines f XPATH code to extract child lists data based on the parent lists association. It looks like here perhaps where I am struggling:</p> <p align=left>&lt;xsl:variable name=&quot;dvt_ParentRow&quot; select=&quot;current()&quot; /&gt;<br>  &lt;xsl:variable name=&quot;FilteredProjectPhases&quot; select=&quot;../../../ProjectPhases/Rows/Row[@Project=$dvt_ParentRow/@Title]&quot; /&gt;<br>  &lt;xsl:variable name=&quot;FilteredProjectReports&quot; select=&quot;../../../Project_Reports/Rows/Row[@Project=$dvt_ParentRow/@Title]&quot; /&gt;<br></p> <p align=left>Here is the whole code that I have in my  Data Form Web Part:</p> <p align=left> </p> <p>&lt;WebPartPages<img alt="Big Smile" src="http://forums.microsoft.com/MSDN/emoticons/emotion-2.gif">ataFormWebPart runat=&quot;server&quot; AllowConnect=&quot;True&quot; PartImageSmall=&quot;&quot; MissingAssembly=&quot;Cannot import this Web Part.&quot; IsIncludedFilter=&quot;&quot; ExportMode=&quot;All&quot; ID=&quot;g_6138da2a_7fe8_43ec_9bc8_8c2f27ea954b&quot; AllowRemove=&quot;True&quot; ListName=&quot;{A1FA9FF5-8383-49EA-9E74-C843A5A993B1}&quot;  FrameState=&quot;Normal&quot; ConnectionID=&quot;00000000-0000-0000-0000-000000000000&quot; DetailLink=&quot;&quot; ExportControlledProperties=&quot;True&quot; IsIncluded=&quot;True&quot; IsVisible=&quot;True&quot; AllowEdit=&quot;True&quot; Dir=&quot;Default&quot; SuppressWebPartChrome=&quot;False&quot; ViewContentTypeId=&quot;&quot; PageSize=&quot;-1&quot; FrameType=&quot;Standard&quot; DataSourceID=&quot;&quot; UseSQLDataSourcePaging=&quot;True&quot; AllowHide=&quot;True&quot; AllowMinimize=&quot;True&quot; ShowWithSampleData=&quot;False&quot; ChromeType=&quot;TitleAndBorder&quot; HelpMode=&quot;Modeless&quot; ViewFlag=&quot;0&quot; Title=&quot;Project Status Report&quot; HelpLink=&quot;&quot; Description=&quot;&quot; PartOrder=&quot;3&quot; AllowZoneChange=&quot;True&quot; PartImageLarge=&quot;&quot; NoDefaultStyle=&quot;TRUE&quot; __MarkupType=&quot;vsattributemarkup&quot; __WebPartId=&quot;{6138DA2A-7FE8-43EC-9BC8-8C2F27EA954B}&quot; __AllowXSLTEditing=&quot;true&quot; WebPart=&quot;true&quot; Height=&quot;&quot; Width=&quot;&quot;&gt;<br>&lt;DataSources&gt;<br>&lt;SharePoint:AggregateDataSource runat=&quot;server&quot; RowsName=&quot;&quot; RootName=&quot;&quot; SeparateRoot=&quot;true&quot; IsSynchronous=&quot;&quot; ID=&quot;Projects_Phases_Reports1&quot;&gt;&lt;Sources&gt;&lt;SharePoint<img alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif">PDataSource runat=&quot;server&quot; SelectCommand=&quot;&amp;lt;View&amp;gt;&amp;lt;/View&amp;gt;&quot; DataSourceMode=&quot;List&quot; UseInternalName=&quot;True&quot; InsertCommand=&quot;&quot; DeleteCommand=&quot;&quot; UpdateCommand=&quot;&quot;&gt;<br> &lt;SelectParameters&gt;<br>  &lt;asp<img alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif">arameter DefaultValue=&quot;{A1FA9FF5-8383-49EA-9E74-C843A5A993B1}&quot; Name=&quot;ListID&quot;&gt;&lt;/asp<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>arameter&gt;<br> &lt;/SelectParameters&gt;<br>&lt;/SharePoint<img height=19 alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif" width=19>PDataSource&gt;&lt;SharePoint<img height=19 alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif" width=19>PDataSource runat=&quot;server&quot; SelectCommand=&quot;&amp;lt;View&amp;gt;&amp;lt;/View&amp;gt;&quot; DataSourceMode=&quot;List&quot; UseInternalName=&quot;True&quot; InsertCommand=&quot;&quot; DeleteCommand=&quot;&quot; UpdateCommand=&quot;&quot;&gt;<br> &lt;SelectParameters&gt;<br>  &lt;asp<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>arameter DefaultValue=&quot;{E7475672-1A30-4B46-98A9-31C4E7144A15}&quot; Name=&quot;ListID&quot;&gt;&lt;/asp<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>arameter&gt;<br> &lt;/SelectParameters&gt;<br>&lt;/SharePoint<img height=19 alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif" width=19>PDataSource&gt;&lt;SharePoint<img height=19 alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif" width=19>PDataSource runat=&quot;server&quot; SelectCommand=&quot;&amp;lt;View&amp;gt;&amp;lt;/View&amp;gt;&quot; DataSourceMode=&quot;List&quot; UseInternalName=&quot;True&quot; InsertCommand=&quot;&quot; DeleteCommand=&quot;&quot; UpdateCommand=&quot;&quot;&gt;<br> &lt;SelectParameters&gt;<br>  &lt;asp<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>arameter DefaultValue=&quot;{7EDA1734-D360-480E-9FED-988E74DAAFEA}&quot; Name=&quot;ListID&quot;&gt;&lt;/asp<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>arameter&gt;<br> &lt;/SelectParameters&gt;<br>&lt;/SharePoint<img height=19 alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif" width=19>PDataSource&gt;</p> <p>&lt;/Sources&gt;<br>&lt;Aggregate&gt;<br> &lt;concat name=&quot;data source&quot;&gt;<br>  &lt;datasource name=&quot;Projects&quot; id=&quot;0&quot; Type=&quot;SPList&quot;/&gt;<br>  &lt;datasource name=&quot;ProjectPhases&quot; id=&quot;1&quot; Type=&quot;SPList&quot;/&gt;<br>  &lt;datasource name=&quot;Project_Reports&quot; id=&quot;2&quot; Type=&quot;SPList&quot;/&gt;<br> &lt;/concat&gt;&lt;/Aggregate&gt;<br>&lt;/SharePoint:AggregateDataSource&gt;<br>&lt;/DataSources&gt;</p> <p>&lt;ParameterBindings&gt;<br>  &lt;ParameterBinding Name=&quot;dvt_apos&quot; Location=&quot;Postback;Connection&quot;/&gt;<br>  &lt;ParameterBinding Name=&quot;UserID&quot; Location=&quot;CAMLVariable&quot; DefaultValue=&quot;CurrentUserName&quot;/&gt;<br>  &lt;ParameterBinding Name=&quot;Today&quot; Location=&quot;CAMLVariable&quot; DefaultValue=&quot;CurrentDate&quot;/&gt;<br> &lt;/ParameterBindings&gt;<br>&lt;DataFields&gt;@Title,Project Name;@Project_x0020_Number,Project Number;@Project_x0020_Description,Project Description;@Start_x0020_Date,Actual Project Start Date;@End_x0020_Date,Planned Project Finish Date;@Project_x0020_Finish_x0020_Date_,Actual Project Finish Date;@Project_x0020_Manager,Project Manager;@Manager_x0020_Phone,Manager Phone;@Project_x0020_Sponsor,Project Sponsor;@Sponsor_x0020_Phone,Sponsor Phone;@Accountability,Domain;@Department,Department;@Status,Project Status;@Budget,Project Budget;@Budgeted_x0020_Days,Scheduled days;@Is_x0020_On_x0020_Operational_x0,Is On Operational Pan;@ID,ID;@ContentType,Content Type;@Modified,Modified;@Created,Created;@Author,Created By;@Editor,Modified By;@_UIVersionString,Version;@Attachments,Attachments;@File_x0020_Type,File Type;@FileLeafRef,Name (for use in forms);@FileDirRef,Path;@FSObjType,Item Type;@_HasCopyDestinations,Has Copy Destinations;@_CopySource,Copy Source;@ContentTypeId,Content Type ID;@_ModerationStatus,Approval Status;@_UIVersion,UI Version;@Created_x0020_Date,Created;@FileRef,URL Path;@Phase_x0020_Name,Phase Name;@Project,Project;@Planned_x0020_Start_x0020_Date,Planned Start Date;@Actual_x0020_Start_x0020_Date,Actual Start Date;@Planned_x0020_Finish_x0020_Date,Planned Finish Date;@Actual_x0020_Finish_x0020_Date,Actual Finish Date;@For_x0020_the_x0020_Period_x0020,For the Period Ending;@Current_x0020_Project_x0020_Stat,Current Project Status;@Project_x0020_Status,Detail Project Status;@Budget_x0020_Status,Current Budget Status;@Schedule,Current Schedule Status;@External_x0020_Dependencies,External Dependencies;@Display_x0020_Latest,Publish Status Report;&lt;/DataFields&gt;<br>&lt;Xsl&gt;<br>&lt;xsl<img height=19 alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif" width=19>tylesheet xmlns:xs=&quot;<a title="http://www.w3.org/2001/XMLSchema" href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>&quot; xmlns:x=&quot;<a title="http://www.w3.org/2001/XMLSchema" href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>&quot; xmlns<img height=19 alt="Big Smile" src="http://forums.microsoft.com/MSDN/emoticons/emotion-2.gif" width=19>=&quot;<a title="http://schemas.microsoft.com/sharepoint/dsp" href="http://schemas.microsoft.com/sharepoint/dsp">http://schemas.microsoft.com/sharepoint/dsp</a>&quot; version=&quot;1.0&quot; exclude-result-prefixes=&quot;xsl msxsl ddwrt&quot; xmlns<img height=19 alt="Big Smile" src="http://forums.microsoft.com/MSDN/emoticons/emotion-2.gif" width=19>dwrt=&quot;<a title="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" href="http://schemas.microsoft.com/WebParts/v2/DataView/runtime">http://schemas.microsoft.com/WebParts/v2/DataView/runtime</a>&quot; xmlns:asp=&quot;<a title="http://schemas.microsoft.com/ASPNET/20" href="http://schemas.microsoft.com/ASPNET/20">http://schemas.microsoft.com/ASPNET/20</a>&quot; xmlns:__designer=&quot;<a title="http://schemas.microsoft.com/WebParts/v2/DataView/designer" href="http://schemas.microsoft.com/WebParts/v2/DataView/designer">http://schemas.microsoft.com/WebParts/v2/DataView/designer</a>&quot; xmlns:xsl=&quot;<a title="http://www.w3.org/1999/XSL/Transform" href="http://www.w3.org/1999/XSL/Transform">http://www.w3.org/1999/XSL/Transform</a>&quot; xmlns:msxsl=&quot;urn<img height=19 alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif" width=19>chemas-microsoft-com:xslt&quot; xmlns<img height=19 alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif" width=19>harePoint=&quot;Microsoft.SharePoint.WebControls&quot; xmlns<img height=19 alt="Big Smile" src="http://forums.microsoft.com/MSDN/emoticons/emotion-2.gif" width=19>dwrt2=&quot;urn:frontpage:internal&quot;&gt;<br> &lt;xsl<img alt=Surprise src="http://forums.microsoft.com/MSDN/emoticons/emotion-3.gif">utput method=&quot;html&quot; indent=&quot;no&quot;/&gt;<br> &lt;xsl<img height=19 alt="Big Smile" src="http://forums.microsoft.com/MSDN/emoticons/emotion-2.gif" width=19>ecimal-format NaN=&quot;&quot;/&gt;<br> &lt;xsl<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>aram name=&quot;dvt_apos&quot;&gt;'&lt;/xsl<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>aram&gt;<br> &lt;xsl:variable name=&quot;dvt_1_automode&quot;&gt;0&lt;/xsl:variable&gt;<br> &lt;xsl:template match=&quot;/&quot;&gt;<br>  &lt;xsl:call-template name=&quot;dvt_1&quot;/&gt;<br> &lt;/xsl:template&gt;<br> &lt;xsl:template name=&quot;dvt_1&quot;&gt;<br>  &lt;xsl<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>aram name=&quot;ParentPath&quot;/&gt;<br>  &lt;xsl:variable name=&quot;dvt_StyleName&quot;&gt;Table&lt;/xsl:variable&gt;<br>  &lt;xsl:variable name=&quot;Rows&quot; select=&quot;/dsQueryResponse/Projects/Rows/Row&quot;/&gt;<br>  <br>  &lt;table border=&quot;0&quot; width=&quot;100%&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;<br>   &lt;xsl:call-template name=&quot;dvt_1.body&quot;&gt;<br>    &lt;xsl:with-param name=&quot;ParentPath&quot; select=&quot;$ParentPath&quot;/&gt;<br>    &lt;xsl:with-param name=&quot;Rows&quot; select=&quot;$Rows&quot;/&gt;<br>   &lt;/xsl:call-template&gt;<br>  &lt;/table&gt;<br> &lt;/xsl:template&gt;<br> &lt;xsl:template name=&quot;dvt_1.body&quot;&gt;<br>  &lt;xsl<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>aram name=&quot;Rows&quot;/&gt;<br>  &lt;xsl<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>aram name=&quot;ParentPath&quot;/&gt;<br>  &lt;xsl:for-each select=&quot;$Rows&quot;&gt;<br>   &lt;xsl:call-template name=&quot;dvt_1.rowview&quot;&gt;<br>    &lt;xsl:with-param name=&quot;ParentPath&quot; select=&quot;$ParentPath&quot;/&gt;<br>   &lt;/xsl:call-template&gt;<br>  &lt;/xsl:for-each&gt;<br> &lt;/xsl:template&gt;<br> <br> &lt;xsl:template name=&quot;dvt_1.rowview&quot;&gt;<br>  &lt;xsl<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>aram name=&quot;ParentPath&quot;/&gt;<br>  &lt;xsl:variable name=&quot;dvt_ParentRow&quot; select=&quot;current()&quot; /&gt;<br>  &lt;xsl:variable name=&quot;FilteredProjectPhases&quot; select=&quot;../../../ProjectPhases/Rows/Row[@Project=$dvt_ParentRow/@Title]&quot; /&gt;<br>  &lt;xsl:variable name=&quot;FilteredProjectReports&quot; select=&quot;../../../Project_Reports/Rows/Row[@Project=$dvt_ParentRow/@Title]&quot; /&gt;<br>     &lt;tr&gt;<br>   &lt;td&gt;<br>    &lt;table border=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;&gt;<br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Project Name:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;@Title&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     <br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Project Description:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;@Project_x0020_Description&quot; disable-output-escaping=&quot;yes&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     <br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Domain:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;@Accountability&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Is On Operational Plan:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;@Is_x0020_On_x0020_Operational_x0&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Project Sponsor:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;@Project_x0020_Sponsor&quot; disable-output-escaping=&quot;yes&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;&lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Sponsor Phone:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;@Sponsor_x0020_Phone&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;</p> <p>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Project Manager:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;@Project_x0020_Manager&quot; disable-output-escaping=&quot;yes&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Manager Phone:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;@Manager_x0020_Phone&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Phase Name:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;$FilteredProjectPhases[@Phase_x0020_Name]&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;For the Period Ending:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;$FilteredProjectReports[@For_x0020_the_x0020_Period_x0020]&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Project Status Summary:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;$FilteredProjectReports[@Current_x0020_Project_x0020_Stat]&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Budget Status:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;$FilteredProjectReports[@Budget_x0020_Status]&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Schedule Status:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;$FilteredProjectReports[@Schedule]&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>    <br>     &lt;xsl:if test=&quot;$dvt_1_automode = '1'&quot; ddwrt:cf_ignore=&quot;1&quot;&gt;<br>      &lt;tr&gt;<br>       &lt;td colspan=&quot;99&quot; class=&quot;ms-vb&quot;&gt;<br>        &lt;span ddwrt:amkeyfield=&quot;ID&quot; ddwrt:amkeyvalue=&quot;ddwrt:EscapeDelims(string(@ID))&quot; ddwrt:ammode=&quot;view&quot; /&gt;<br>       &lt;/td&gt;<br>      &lt;/tr&gt;<br>     &lt;/xsl:if&gt;<br>    &lt;/table&gt;<br>   &lt;/td&gt;<br>  &lt;/tr&gt;<br> &lt;/xsl:template&gt;<br>&lt;/xsl<img height=19 alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif" width=19>tylesheet&gt; <br>&lt;/Xsl&gt;<br>&lt;/WebPartPages<img height=19 alt="Big Smile" src="http://forums.microsoft.com/MSDN/emoticons/emotion-2.gif" width=19>ataFormWebPart&gt;<br></p>© 2009 Microsoft Corporation. All rights reserved.Tue, 22 Jul 2008 19:47:58 Z535d715e-2d4b-4c22-8163-e314167bc917http://social.msdn.microsoft.com/Forums/en-US/sharepointcollaboration/thread/535d715e-2d4b-4c22-8163-e314167bc917#535d715e-2d4b-4c22-8163-e314167bc917http://social.msdn.microsoft.com/Forums/en-US/sharepointcollaboration/thread/535d715e-2d4b-4c22-8163-e314167bc917#535d715e-2d4b-4c22-8163-e314167bc917astatkehttp://social.msdn.microsoft.com/Profile/en-US/?user=astatkeHow can I display data from three joined SharePint Lists using a single Data Form Web Part<p align=left><font face=Arial size=2>Hi,</font></p> <p align=left> </p> <p align=left>I would like to display three joined SharePoint Lists (i.e. namely Projects, ProjectPhases and Project_Reports) in one Data Form Web Part. Although I was able to dsplay data from the parent list (which is the Projects List), I am having trouble in displaying corresponding data from the child lists (i.e namely, ProjectPhases and Project_Reports lists).</p> <p align=left> </p> <p align=left>The parent list, Projects, is associated to the child lists by it's Project Name (being known as @Title). The child lists have a lookup field called Project which uses Project Name fom the Projects list (SharePoint labels it as @Project).</p> <p align=left> </p> <p align=left>I am using the following two lines f XPATH code to extract child lists data based on the parent lists association. It looks like here perhaps where I am struggling:</p> <p align=left>&lt;xsl:variable name=&quot;dvt_ParentRow&quot; select=&quot;current()&quot; /&gt;<br>  &lt;xsl:variable name=&quot;FilteredProjectPhases&quot; select=&quot;../../../ProjectPhases/Rows/Row[@Project=$dvt_ParentRow/@Title]&quot; /&gt;<br>  &lt;xsl:variable name=&quot;FilteredProjectReports&quot; select=&quot;../../../Project_Reports/Rows/Row[@Project=$dvt_ParentRow/@Title]&quot; /&gt;<br></p> <p align=left>Here is the whole code that I have in my  Data Form Web Part:</p> <p align=left> </p> <p>&lt;WebPartPages<img alt="Big Smile" src="http://forums.microsoft.com/MSDN/emoticons/emotion-2.gif">ataFormWebPart runat=&quot;server&quot; AllowConnect=&quot;True&quot; PartImageSmall=&quot;&quot; MissingAssembly=&quot;Cannot import this Web Part.&quot; IsIncludedFilter=&quot;&quot; ExportMode=&quot;All&quot; ID=&quot;g_6138da2a_7fe8_43ec_9bc8_8c2f27ea954b&quot; AllowRemove=&quot;True&quot; ListName=&quot;{A1FA9FF5-8383-49EA-9E74-C843A5A993B1}&quot;  FrameState=&quot;Normal&quot; ConnectionID=&quot;00000000-0000-0000-0000-000000000000&quot; DetailLink=&quot;&quot; ExportControlledProperties=&quot;True&quot; IsIncluded=&quot;True&quot; IsVisible=&quot;True&quot; AllowEdit=&quot;True&quot; Dir=&quot;Default&quot; SuppressWebPartChrome=&quot;False&quot; ViewContentTypeId=&quot;&quot; PageSize=&quot;-1&quot; FrameType=&quot;Standard&quot; DataSourceID=&quot;&quot; UseSQLDataSourcePaging=&quot;True&quot; AllowHide=&quot;True&quot; AllowMinimize=&quot;True&quot; ShowWithSampleData=&quot;False&quot; ChromeType=&quot;TitleAndBorder&quot; HelpMode=&quot;Modeless&quot; ViewFlag=&quot;0&quot; Title=&quot;Project Status Report&quot; HelpLink=&quot;&quot; Description=&quot;&quot; PartOrder=&quot;3&quot; AllowZoneChange=&quot;True&quot; PartImageLarge=&quot;&quot; NoDefaultStyle=&quot;TRUE&quot; __MarkupType=&quot;vsattributemarkup&quot; __WebPartId=&quot;{6138DA2A-7FE8-43EC-9BC8-8C2F27EA954B}&quot; __AllowXSLTEditing=&quot;true&quot; WebPart=&quot;true&quot; Height=&quot;&quot; Width=&quot;&quot;&gt;<br>&lt;DataSources&gt;<br>&lt;SharePoint:AggregateDataSource runat=&quot;server&quot; RowsName=&quot;&quot; RootName=&quot;&quot; SeparateRoot=&quot;true&quot; IsSynchronous=&quot;&quot; ID=&quot;Projects_Phases_Reports1&quot;&gt;&lt;Sources&gt;&lt;SharePoint<img alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif">PDataSource runat=&quot;server&quot; SelectCommand=&quot;&amp;lt;View&amp;gt;&amp;lt;/View&amp;gt;&quot; DataSourceMode=&quot;List&quot; UseInternalName=&quot;True&quot; InsertCommand=&quot;&quot; DeleteCommand=&quot;&quot; UpdateCommand=&quot;&quot;&gt;<br> &lt;SelectParameters&gt;<br>  &lt;asp<img alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif">arameter DefaultValue=&quot;{A1FA9FF5-8383-49EA-9E74-C843A5A993B1}&quot; Name=&quot;ListID&quot;&gt;&lt;/asp<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>arameter&gt;<br> &lt;/SelectParameters&gt;<br>&lt;/SharePoint<img height=19 alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif" width=19>PDataSource&gt;&lt;SharePoint<img height=19 alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif" width=19>PDataSource runat=&quot;server&quot; SelectCommand=&quot;&amp;lt;View&amp;gt;&amp;lt;/View&amp;gt;&quot; DataSourceMode=&quot;List&quot; UseInternalName=&quot;True&quot; InsertCommand=&quot;&quot; DeleteCommand=&quot;&quot; UpdateCommand=&quot;&quot;&gt;<br> &lt;SelectParameters&gt;<br>  &lt;asp<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>arameter DefaultValue=&quot;{E7475672-1A30-4B46-98A9-31C4E7144A15}&quot; Name=&quot;ListID&quot;&gt;&lt;/asp<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>arameter&gt;<br> &lt;/SelectParameters&gt;<br>&lt;/SharePoint<img height=19 alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif" width=19>PDataSource&gt;&lt;SharePoint<img height=19 alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif" width=19>PDataSource runat=&quot;server&quot; SelectCommand=&quot;&amp;lt;View&amp;gt;&amp;lt;/View&amp;gt;&quot; DataSourceMode=&quot;List&quot; UseInternalName=&quot;True&quot; InsertCommand=&quot;&quot; DeleteCommand=&quot;&quot; UpdateCommand=&quot;&quot;&gt;<br> &lt;SelectParameters&gt;<br>  &lt;asp<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>arameter DefaultValue=&quot;{7EDA1734-D360-480E-9FED-988E74DAAFEA}&quot; Name=&quot;ListID&quot;&gt;&lt;/asp<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>arameter&gt;<br> &lt;/SelectParameters&gt;<br>&lt;/SharePoint<img height=19 alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif" width=19>PDataSource&gt;</p> <p>&lt;/Sources&gt;<br>&lt;Aggregate&gt;<br> &lt;concat name=&quot;data source&quot;&gt;<br>  &lt;datasource name=&quot;Projects&quot; id=&quot;0&quot; Type=&quot;SPList&quot;/&gt;<br>  &lt;datasource name=&quot;ProjectPhases&quot; id=&quot;1&quot; Type=&quot;SPList&quot;/&gt;<br>  &lt;datasource name=&quot;Project_Reports&quot; id=&quot;2&quot; Type=&quot;SPList&quot;/&gt;<br> &lt;/concat&gt;&lt;/Aggregate&gt;<br>&lt;/SharePoint:AggregateDataSource&gt;<br>&lt;/DataSources&gt;</p> <p>&lt;ParameterBindings&gt;<br>  &lt;ParameterBinding Name=&quot;dvt_apos&quot; Location=&quot;Postback;Connection&quot;/&gt;<br>  &lt;ParameterBinding Name=&quot;UserID&quot; Location=&quot;CAMLVariable&quot; DefaultValue=&quot;CurrentUserName&quot;/&gt;<br>  &lt;ParameterBinding Name=&quot;Today&quot; Location=&quot;CAMLVariable&quot; DefaultValue=&quot;CurrentDate&quot;/&gt;<br> &lt;/ParameterBindings&gt;<br>&lt;DataFields&gt;@Title,Project Name;@Project_x0020_Number,Project Number;@Project_x0020_Description,Project Description;@Start_x0020_Date,Actual Project Start Date;@End_x0020_Date,Planned Project Finish Date;@Project_x0020_Finish_x0020_Date_,Actual Project Finish Date;@Project_x0020_Manager,Project Manager;@Manager_x0020_Phone,Manager Phone;@Project_x0020_Sponsor,Project Sponsor;@Sponsor_x0020_Phone,Sponsor Phone;@Accountability,Domain;@Department,Department;@Status,Project Status;@Budget,Project Budget;@Budgeted_x0020_Days,Scheduled days;@Is_x0020_On_x0020_Operational_x0,Is On Operational Pan;@ID,ID;@ContentType,Content Type;@Modified,Modified;@Created,Created;@Author,Created By;@Editor,Modified By;@_UIVersionString,Version;@Attachments,Attachments;@File_x0020_Type,File Type;@FileLeafRef,Name (for use in forms);@FileDirRef,Path;@FSObjType,Item Type;@_HasCopyDestinations,Has Copy Destinations;@_CopySource,Copy Source;@ContentTypeId,Content Type ID;@_ModerationStatus,Approval Status;@_UIVersion,UI Version;@Created_x0020_Date,Created;@FileRef,URL Path;@Phase_x0020_Name,Phase Name;@Project,Project;@Planned_x0020_Start_x0020_Date,Planned Start Date;@Actual_x0020_Start_x0020_Date,Actual Start Date;@Planned_x0020_Finish_x0020_Date,Planned Finish Date;@Actual_x0020_Finish_x0020_Date,Actual Finish Date;@For_x0020_the_x0020_Period_x0020,For the Period Ending;@Current_x0020_Project_x0020_Stat,Current Project Status;@Project_x0020_Status,Detail Project Status;@Budget_x0020_Status,Current Budget Status;@Schedule,Current Schedule Status;@External_x0020_Dependencies,External Dependencies;@Display_x0020_Latest,Publish Status Report;&lt;/DataFields&gt;<br>&lt;Xsl&gt;<br>&lt;xsl<img height=19 alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif" width=19>tylesheet xmlns:xs=&quot;<a title="http://www.w3.org/2001/XMLSchema" href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>&quot; xmlns:x=&quot;<a title="http://www.w3.org/2001/XMLSchema" href="http://www.w3.org/2001/XMLSchema">http://www.w3.org/2001/XMLSchema</a>&quot; xmlns<img height=19 alt="Big Smile" src="http://forums.microsoft.com/MSDN/emoticons/emotion-2.gif" width=19>=&quot;<a title="http://schemas.microsoft.com/sharepoint/dsp" href="http://schemas.microsoft.com/sharepoint/dsp">http://schemas.microsoft.com/sharepoint/dsp</a>&quot; version=&quot;1.0&quot; exclude-result-prefixes=&quot;xsl msxsl ddwrt&quot; xmlns<img height=19 alt="Big Smile" src="http://forums.microsoft.com/MSDN/emoticons/emotion-2.gif" width=19>dwrt=&quot;<a title="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" href="http://schemas.microsoft.com/WebParts/v2/DataView/runtime">http://schemas.microsoft.com/WebParts/v2/DataView/runtime</a>&quot; xmlns:asp=&quot;<a title="http://schemas.microsoft.com/ASPNET/20" href="http://schemas.microsoft.com/ASPNET/20">http://schemas.microsoft.com/ASPNET/20</a>&quot; xmlns:__designer=&quot;<a title="http://schemas.microsoft.com/WebParts/v2/DataView/designer" href="http://schemas.microsoft.com/WebParts/v2/DataView/designer">http://schemas.microsoft.com/WebParts/v2/DataView/designer</a>&quot; xmlns:xsl=&quot;<a title="http://www.w3.org/1999/XSL/Transform" href="http://www.w3.org/1999/XSL/Transform">http://www.w3.org/1999/XSL/Transform</a>&quot; xmlns:msxsl=&quot;urn<img height=19 alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif" width=19>chemas-microsoft-com:xslt&quot; xmlns<img height=19 alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif" width=19>harePoint=&quot;Microsoft.SharePoint.WebControls&quot; xmlns<img height=19 alt="Big Smile" src="http://forums.microsoft.com/MSDN/emoticons/emotion-2.gif" width=19>dwrt2=&quot;urn:frontpage:internal&quot;&gt;<br> &lt;xsl<img alt=Surprise src="http://forums.microsoft.com/MSDN/emoticons/emotion-3.gif">utput method=&quot;html&quot; indent=&quot;no&quot;/&gt;<br> &lt;xsl<img height=19 alt="Big Smile" src="http://forums.microsoft.com/MSDN/emoticons/emotion-2.gif" width=19>ecimal-format NaN=&quot;&quot;/&gt;<br> &lt;xsl<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>aram name=&quot;dvt_apos&quot;&gt;'&lt;/xsl<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>aram&gt;<br> &lt;xsl:variable name=&quot;dvt_1_automode&quot;&gt;0&lt;/xsl:variable&gt;<br> &lt;xsl:template match=&quot;/&quot;&gt;<br>  &lt;xsl:call-template name=&quot;dvt_1&quot;/&gt;<br> &lt;/xsl:template&gt;<br> &lt;xsl:template name=&quot;dvt_1&quot;&gt;<br>  &lt;xsl<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>aram name=&quot;ParentPath&quot;/&gt;<br>  &lt;xsl:variable name=&quot;dvt_StyleName&quot;&gt;Table&lt;/xsl:variable&gt;<br>  &lt;xsl:variable name=&quot;Rows&quot; select=&quot;/dsQueryResponse/Projects/Rows/Row&quot;/&gt;<br>  <br>  &lt;table border=&quot;0&quot; width=&quot;100%&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot;&gt;<br>   &lt;xsl:call-template name=&quot;dvt_1.body&quot;&gt;<br>    &lt;xsl:with-param name=&quot;ParentPath&quot; select=&quot;$ParentPath&quot;/&gt;<br>    &lt;xsl:with-param name=&quot;Rows&quot; select=&quot;$Rows&quot;/&gt;<br>   &lt;/xsl:call-template&gt;<br>  &lt;/table&gt;<br> &lt;/xsl:template&gt;<br> &lt;xsl:template name=&quot;dvt_1.body&quot;&gt;<br>  &lt;xsl<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>aram name=&quot;Rows&quot;/&gt;<br>  &lt;xsl<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>aram name=&quot;ParentPath&quot;/&gt;<br>  &lt;xsl:for-each select=&quot;$Rows&quot;&gt;<br>   &lt;xsl:call-template name=&quot;dvt_1.rowview&quot;&gt;<br>    &lt;xsl:with-param name=&quot;ParentPath&quot; select=&quot;$ParentPath&quot;/&gt;<br>   &lt;/xsl:call-template&gt;<br>  &lt;/xsl:for-each&gt;<br> &lt;/xsl:template&gt;<br> <br> &lt;xsl:template name=&quot;dvt_1.rowview&quot;&gt;<br>  &lt;xsl<img height=19 alt="Stick out tongue" src="http://forums.microsoft.com/MSDN/emoticons/emotion-4.gif" width=19>aram name=&quot;ParentPath&quot;/&gt;<br>  &lt;xsl:variable name=&quot;dvt_ParentRow&quot; select=&quot;current()&quot; /&gt;<br>  &lt;xsl:variable name=&quot;FilteredProjectPhases&quot; select=&quot;../../../ProjectPhases/Rows/Row[@Project=$dvt_ParentRow/@Title]&quot; /&gt;<br>  &lt;xsl:variable name=&quot;FilteredProjectReports&quot; select=&quot;../../../Project_Reports/Rows/Row[@Project=$dvt_ParentRow/@Title]&quot; /&gt;<br>     &lt;tr&gt;<br>   &lt;td&gt;<br>    &lt;table border=&quot;0&quot; cellspacing=&quot;0&quot; width=&quot;100%&quot;&gt;<br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Project Name:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;@Title&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     <br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Project Description:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;@Project_x0020_Description&quot; disable-output-escaping=&quot;yes&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     <br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Domain:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;@Accountability&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Is On Operational Plan:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;@Is_x0020_On_x0020_Operational_x0&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Project Sponsor:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;@Project_x0020_Sponsor&quot; disable-output-escaping=&quot;yes&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;&lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Sponsor Phone:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;@Sponsor_x0020_Phone&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;</p> <p>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Project Manager:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;@Project_x0020_Manager&quot; disable-output-escaping=&quot;yes&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Manager Phone:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;@Manager_x0020_Phone&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Phase Name:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;$FilteredProjectPhases[@Phase_x0020_Name]&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;For the Period Ending:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;$FilteredProjectReports[@For_x0020_the_x0020_Period_x0020]&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Project Status Summary:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;$FilteredProjectReports[@Current_x0020_Project_x0020_Stat]&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Budget Status:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;$FilteredProjectReports[@Budget_x0020_Status]&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>     &lt;tr&gt;<br>      &lt;td width=&quot;25%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;b&gt;Schedule Status:&lt;/b&gt;<br>      &lt;/td&gt;<br>      &lt;td width=&quot;75%&quot; class=&quot;ms-vb&quot;&gt;<br>       &lt;xsl:value-of select=&quot;$FilteredProjectReports[@Schedule]&quot; /&gt;<br>      &lt;/td&gt;<br>     &lt;/tr&gt;<br>    <br>     &lt;xsl:if test=&quot;$dvt_1_automode = '1'&quot; ddwrt:cf_ignore=&quot;1&quot;&gt;<br>      &lt;tr&gt;<br>       &lt;td colspan=&quot;99&quot; class=&quot;ms-vb&quot;&gt;<br>        &lt;span ddwrt:amkeyfield=&quot;ID&quot; ddwrt:amkeyvalue=&quot;ddwrt:EscapeDelims(string(@ID))&quot; ddwrt:ammode=&quot;view&quot; /&gt;<br>       &lt;/td&gt;<br>      &lt;/tr&gt;<br>     &lt;/xsl:if&gt;<br>    &lt;/table&gt;<br>   &lt;/td&gt;<br>  &lt;/tr&gt;<br> &lt;/xsl:template&gt;<br>&lt;/xsl<img height=19 alt="Tongue Tied" src="http://forums.microsoft.com/MSDN/emoticons/emotion-7.gif" width=19>tylesheet&gt; <br>&lt;/Xsl&gt;<br>&lt;/WebPartPages<img height=19 alt="Big Smile" src="http://forums.microsoft.com/MSDN/emoticons/emotion-2.gif" width=19>ataFormWebPart&gt;<br></p>Sun, 16 Mar 2008 23:37:06 Z2008-04-04T00:16:41Zhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcollaboration/thread/535d715e-2d4b-4c22-8163-e314167bc917#a950b727-ac08-4d8e-83e0-2a1f3a09e6cbhttp://social.msdn.microsoft.com/Forums/en-US/sharepointcollaboration/thread/535d715e-2d4b-4c22-8163-e314167bc917#a950b727-ac08-4d8e-83e0-2a1f3a09e6cbastatkehttp://social.msdn.microsoft.com/Profile/en-US/?user=astatkeHow can I display data from three joined SharePint Lists using a single Data Form Web Part<p>With a little bit of manipultaion of the XSLT script, which SPD 2007 spits, and by using this example <a title="http://office.microsoft.com/en-us/sharepointdesigner/HA100991441033.aspx?pid=CH100667641033" href="http://office.microsoft.com/en-us/sharepointdesigner/HA100991441033.aspx?pid=CH100667641033">http://office.microsoft.com/en-us/sharepointdesigner/HA100991441033.aspx?pid=CH100667641033</a> I was able to figure it out.</p> <p align=left> </p> <p align=left>Thanks</p> <p align=left><font face=Arial size=2></font> </p>Fri, 04 Apr 2008 00:16:21 Z2008-04-04T00:16:41Z