<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: InfoPath Form Reset Main Data Connection</title><link>https://www.infopathdev.com:443/forums/thread/97954.aspx</link><pubDate>Sun, 15 Jun 2014 23:40:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97954</guid><dc:creator>donstephen</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97954.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=97954</wfw:commentRss><description>&lt;p&gt;Hi  Gvantsa,&lt;/p&gt;&lt;p&gt;I&amp;nbsp;believe that resetting a data connection is possible out of the box. In cases like this, assuming that you are disabling controls based on the item/s returned from a query, I would suggest using a hidden Boolean field instead. This way you can easily manipulate the disable logic by setting the Boolean field to either true or false. I hope this makes sense.&lt;br /&gt;&lt;br /&gt;Regards,&lt;/p&gt;</description></item><item><title>InfoPath Form Reset Main Data Connection</title><link>https://www.infopathdev.com:443/forums/thread/97924.aspx</link><pubDate>Thu, 12 Jun 2014 12:40:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:97924</guid><dc:creator>Gvantsa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/97924.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=97924</wfw:commentRss><description>I&amp;#39;m building an InfoPath form connected to a SharePoint List.

After the user has filled out a couple of fields (which can uniquely identify a record), I re-query the main data connection to see if the item already exists. This works fine and loads the remaining details of the existing record into the form.

However, if the record does not exist, all the fields on the form become disabled... how can I reset the main data connection back to its initial state to allow a new item to be submitted?</description></item></channel></rss>