<?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: Refresh Secondary Data Connection via jscript</title><link>https://www.infopathdev.com:443/forums/thread/32518.aspx</link><pubDate>Wed, 24 Sep 2008 18:22:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32518</guid><dc:creator>BrianL</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32518.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=32518</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks Clay, &lt;/p&gt;
&lt;p&gt;That along with a XDocument.View.ForceUpdate(); did the trick!&lt;/p&gt;</description></item><item><title>Re: Refresh Secondary Data Connection via jscript</title><link>https://www.infopathdev.com:443/forums/thread/32505.aspx</link><pubDate>Wed, 24 Sep 2008 12:50:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32505</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32505.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=32505</wfw:commentRss><description>&lt;p&gt;Check the developers reference on MSDN for the proper syntax.&lt;/p&gt;
&lt;p&gt;I believe it is query() just like in the UI.&lt;/p&gt;</description></item><item><title>Refresh Secondary Data Connection via jscript</title><link>https://www.infopathdev.com:443/forums/thread/32477.aspx</link><pubDate>Tue, 23 Sep 2008 18:16:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32477</guid><dc:creator>BrianL</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32477.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=32477</wfw:commentRss><description>&lt;p&gt;I would like to add a button that will refresh/reload the secondary data connection for a list box, but havn&amp;#39;t been able to get the code right. I tried&lt;/p&gt;
&lt;p&gt;XDocument.DataObjects[&amp;quot;Program_Name&amp;quot;].ForceUpdate();&lt;/p&gt;
&lt;p&gt;but I am getting an error that XDocument.DataObjects.Program_Name is null or not an object.&amp;nbsp; Not sure if I am close or way off the mark.&amp;nbsp; Any help would be appreciated.&amp;nbsp; I am using Infopath 2003.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks in advance.&lt;/p&gt;</description></item></channel></rss>