<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: XmlDocument/XDocument Explanation</title><link>https://www.infopathdev.com:443/forums/thread/21588.aspx</link><pubDate>Tue, 10 Jul 2007 09:01:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21588</guid><dc:creator>JamesLaker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21588.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=21588</wfw:commentRss><description>&lt;p&gt;That link does not seem to work.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanx for the reply&lt;/p&gt;</description></item><item><title>Re: XmlDocument/XDocument Explanation</title><link>https://www.infopathdev.com:443/forums/thread/21587.aspx</link><pubDate>Tue, 10 Jul 2007 08:51:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21587</guid><dc:creator>JamesLaker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21587.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=21587</wfw:commentRss><description>&lt;p&gt;Found it...&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim myADOConnection As AdoQueryConnection = DirectCast(Me.DataConnections(&amp;quot;Awards&amp;quot;), AdoQueryConnection)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myADOConnection.Command = &amp;quot;&amp;nbsp;SELECT A.AwardID,A.AwardName FROM Judge J &amp;quot; &amp;amp; _&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;INNER JOIN JudgeLink JL ON JL.JudgeID = J.JudgeId &amp;quot; &amp;amp; _&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;INNER JOIN Awards A On JL.AwardId = A.AwardId &amp;quot; &amp;amp; _&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;WHERE Alias = &amp;#39;&amp;quot; &amp;amp; strAlias &amp;amp; &amp;quot;&amp;#39;&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myADOConnection.Execute()&lt;/p&gt;</description></item><item><title>Re: XmlDocument/XDocument Explanation</title><link>https://www.infopathdev.com:443/forums/thread/21584.aspx</link><pubDate>Tue, 10 Jul 2007 08:17:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21584</guid><dc:creator>romaik</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21584.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=21584</wfw:commentRss><description>&lt;p&gt;It might depend on what language you are using.&lt;/p&gt;&lt;p&gt;I guess it is JScrit ?&amp;nbsp;&lt;/p&gt;&lt;p&gt;Nevertheless, here is the InfoPath 2007 Model Object =&amp;gt; http://download.microsoft.com/download/0/9/c/09cda3f2-6d3d-4082-aec5-9a62b7679ecf/InfoPathObjectModelMap.pdf &lt;br /&gt;&lt;/p&gt;</description></item><item><title>XmlDocument/XDocument Explanation</title><link>https://www.infopathdev.com:443/forums/thread/21583.aspx</link><pubDate>Tue, 10 Jul 2007 08:09:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21583</guid><dc:creator>JamesLaker</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21583.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=21583</wfw:commentRss><description>&lt;p&gt;Hallo Everyone&lt;/p&gt;&lt;p&gt;&amp;nbsp;I&amp;#39;m working with Infopath 2007 and I&amp;#39;m trying to populate a combobox. I managed to do this just fine. What I want to do next is only display the items that belongs to the current user. I was able to find the current user. &lt;/p&gt;&lt;p&gt;&amp;nbsp;Everywhere I see people talking of XDocument which I&amp;#39;ve noticed was in Infopath 2003. Someone told me that this was replaced by XmlDocument. But this does not seem to help me with my problem.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&lt;u&gt;I&amp;#39;m trying to change the Query for one of my Secondary Data Connections&lt;/u&gt;&lt;/strong&gt;. I&amp;#39;ve seen this done like this:&lt;/p&gt;&lt;p&gt;XDocument.DataObjects[&amp;quot;Detail&amp;quot;].QueryAdapter.Command = &amp;quot;&amp;lt;Select query goes here&amp;gt;&amp;quot;&lt;/p&gt;&lt;p&gt;But this does not seem to work as it cant find XDocument?&lt;/p&gt;&lt;p&gt;Please advice&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; James Laker&lt;/p&gt;</description></item></channel></rss>