<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Refresh problem</title><link>https://www.infopathdev.com:443/forums/thread/14363.aspx</link><pubDate>Wed, 08 Mar 2006 11:55:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14363</guid><dc:creator>pcolmer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14363.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14363</wfw:commentRss><description>Yes, I came to the same conclusion &amp; I've changed the way I've done it so that the logic to hide or reveal the fields is based on booleans stored in the schema. That way, InfoPath see the values being changed and triggers the refresh.&lt;br /&gt;&lt;br /&gt;--Philip&lt;br /&gt;</description></item><item><title>Re: Refresh problem</title><link>https://www.infopathdev.com:443/forums/thread/14362.aspx</link><pubDate>Wed, 08 Mar 2006 08:40:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:14362</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/14362.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=14362</wfw:commentRss><description>My guess is that your managed code needs to update the data source in someway to get the refresh to happen.</description></item><item><title>Refresh problem</title><link>https://www.infopathdev.com:443/forums/thread/12802.aspx</link><pubDate>Mon, 06 Mar 2006 16:45:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12802</guid><dc:creator>pcolmer</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12802.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12802</wfw:commentRss><description>I've got a form where the user can enter part of the supplier's name, hit search and get a drop-down list of matches.&lt;br /&gt;&lt;br /&gt;I'm using conditional formatting to hide/show the relevant bits according to the results of functions in my managed code.&lt;br /&gt;&lt;br /&gt;The problem I'm having is that the update of the form only takes place on the second go. So, for example:&lt;br /&gt;&lt;br /&gt;1. I enter a search string &amp; click on "Search". Nothing happens.&lt;br /&gt;2. I click on the Search button again and the field display flips as it should do.&lt;br /&gt;&lt;br /&gt;Is there a way for me to provoke the form update on the first button click?&lt;br /&gt;&lt;br /&gt;Thanks.&lt;br /&gt;&lt;br /&gt;--Philip&lt;br /&gt;</description></item></channel></rss>