<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Tables not able to join in same datasource</title><link>https://www.infopathdev.com:443/forums/thread/56508.aspx</link><pubDate>Fri, 02 Jul 2010 22:02:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56508</guid><dc:creator>Aruna Akella</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56508.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=56508</wfw:commentRss><description>&lt;p&gt;Have you tried using the same query in SQL? Does it return the correct number of rows?&lt;/p&gt;
&lt;p&gt;I just tried using join, and it returns all the specified rows of data in InfoPath.&lt;/p&gt;</description></item><item><title>Tables not able to join in same datasource</title><link>https://www.infopathdev.com:443/forums/thread/56502.aspx</link><pubDate>Fri, 02 Jul 2010 18:20:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56502</guid><dc:creator>delux269</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56502.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=56502</wfw:commentRss><description>&lt;p&gt;I have two tables that I want to join.&amp;nbsp; They are both contained in the same datasource.&amp;nbsp; I am trying to get them to join together in an SQL statement.&amp;nbsp; The SQL is the correct syntax.&amp;nbsp; The syntax is:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;select PurchOrd.PONbr,PurOrdDet.InvtID from PurchOrd JOIN PurOrdDet ON PurchOrd.PONbr=PurOrdDet.PONbr WHERE PurchOrd.PONbr LIKE &amp;#39;%&amp;quot; + PONbrId + &amp;quot;%&amp;#39; AND PurchOrd.ProjectID LIKE &amp;#39;%&amp;quot; + ProjectId + &amp;quot;%&amp;#39; AND VendName LIKE &amp;#39;%&amp;quot; + VendorNameId + &amp;quot;%&amp;#39; AND PurchOrd.ReqNbr LIKE &amp;#39;%&amp;quot; + PRNbrId + &amp;quot;%&amp;#39; AND PurchOrd.User6 LIKE &amp;#39;%&amp;quot; + ReqId + &amp;quot;%&amp;#39;&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:11pt;mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;&amp;nbsp;The fields for PurchOrd display just fine, but the fields for PurOrdDet do not display at all, and I cannot figure out why&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>