<?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: Conditional formatting doesn't apply following a query submission</title><link>https://www.infopathdev.com:443/forums/thread/52603.aspx</link><pubDate>Wed, 10 Mar 2010 17:05:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52603</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52603.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=52603</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;This is a perfect time for a secondary XML data source.&amp;nbsp; Just create a simple XML file in notepad like this (come up with better names for the elements):&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;lt;SectionShowing&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Section1&amp;gt;no&amp;lt;/Section1&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Section2&amp;gt;no&amp;lt;/Section2&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Section3&amp;gt;no&amp;lt;/Section3&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Section4&amp;gt;no&amp;lt;/Section4&amp;gt;&lt;br /&gt;&amp;lt;/SectionShowing&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;and add the XML file as a data source in your form.&amp;nbsp; Then bind the checkboxes to those fields.&amp;nbsp; This way you don&amp;#39;t have to involve them in your Access query, and they won&amp;#39;t be affected by your querying the database.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Conditional formatting doesn't apply following a query submission</title><link>https://www.infopathdev.com:443/forums/thread/52602.aspx</link><pubDate>Wed, 10 Mar 2010 16:48:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52602</guid><dc:creator>janderson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52602.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=52602</wfw:commentRss><description>&lt;p&gt;Thanks for such a rapid response!&lt;/p&gt;
&lt;p&gt;All the boxes are set up as a &amp;quot;yes&amp;quot; / &amp;quot;no&amp;quot; for the true or false. The variable sections are then formatted to Hide if the value of the one it&amp;#39;s paired with is &amp;quot;no&amp;quot;. The fields of the actual checkboxes are bound to fields within the same DB table but this is only for convenience as I couldn&amp;#39;t work out how to have them &amp;quot;stand alone&amp;quot;. They&amp;#39;re purely functional and have no meaning other than control within the form.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll have a play about with them as per your suggestion and see if it throws anything up.&lt;/p&gt;
&lt;p&gt;Thanks for the help mate.&lt;/p&gt;
&lt;p&gt;Jon&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Conditional formatting doesn't apply following a query submission</title><link>https://www.infopathdev.com:443/forums/thread/52601.aspx</link><pubDate>Wed, 10 Mar 2010 16:38:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52601</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52601.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=52601</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;What exactly is the conditional formatting condition on each of the sections?&amp;nbsp; Is is just based on whether the checkbox fields&amp;#39; values are one value or another?&amp;nbsp; Are the checkboxes bound to fields that are returned by the query?&lt;/p&gt;&lt;p&gt;One thing you can do is display the checkbox fields&amp;#39; values in an expression box to see if they are taking on an unexpected value.&amp;nbsp; Maybe they have the value &lt;b&gt;1&lt;/b&gt; instead of &lt;b&gt;true&lt;/b&gt; in which case the conditional formatting wouldn&amp;#39;t apply, or something like that.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Conditional formatting doesn't apply following a query submission</title><link>https://www.infopathdev.com:443/forums/thread/52600.aspx</link><pubDate>Wed, 10 Mar 2010 16:22:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52600</guid><dc:creator>janderson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52600.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=52600</wfw:commentRss><description>&lt;p&gt;Hi, I&amp;#39;m really hoping someone out there can help me with this one, I can&amp;#39;t find the solution anywhere!&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve designed an InfoPath form, linked to an Access Database. The purpose of the form is to query a central database for a customer record, if it finds one it returns various field values. Additional&amp;nbsp;fields in seperate sections are then populated by the person using the form and then the whole thing is&amp;nbsp;re-submitted back to the same database. The fields that are updated are the customer&amp;#39;s requirements for a specific public holiday.&lt;/p&gt;
&lt;p&gt;At the top of the form I have a series of check boxes, each with a unique date next to it. Checking one or more will display a specific linked section. Without any checks, no sections are displayed. This is to make sure that the 30 or so public holidays dont all display at once, keeping&amp;nbsp;it nice and clean.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve done this with conditional formatting and it works fine for when I&amp;#39;m entering a new customer. However, when I run a query first which returns a customer record, all the other sections display, regardless of whether they have any values or not. I can then check and then uncheck the boxes and one by one they disappear , but this is far from ideal. It&amp;#39;s almost like the conditional formatting isn&amp;#39;t being applied when I&amp;#39;m running a query.&lt;/p&gt;
&lt;p&gt;Does anyone have any suggestions?&lt;/p&gt;
&lt;p&gt;Thanks guys n gals, Jon&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>