<?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: Change fill color, etc..</title><link>https://www.infopathdev.com:443/forums/thread/78507.aspx</link><pubDate>Fri, 11 May 2012 13:00:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78507</guid><dc:creator>jsherman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78507.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=78507</wfw:commentRss><description>&lt;p&gt;Ok... That&amp;#39;s what I&amp;#39;ve ended up doing.. However I have a field in a repeating table.. My code sets that field to true, it&amp;#39;s false by default.. I can&amp;#39;t seem to setup the condition on confitional formating rule correctly.. I want the rule to disable the field only in rows where the field&amp;#39;s attribute = true.. Meaning if row 1 is true the field is disalbed but it row 2 is fals ethe field is enabled and row 3 is true the disable, etc... &lt;/p&gt;&lt;p&gt;&amp;nbsp;This is the expression I have tried: and several other variants..&lt;/p&gt;&lt;p&gt;/my:myFields/my:RequestData/my:ItemSyteLineInfo/my:ItemSyteLineInfo_BOM/my:ItemSyteLineInfo_BOM_Operations/my:ItemBOMOpOperation[current()]/@my:IsExisting = &amp;quot;true&amp;quot;&lt;/p&gt;</description></item><item><title>Re: Change fill color, etc..</title><link>https://www.infopathdev.com:443/forums/thread/78438.aspx</link><pubDate>Thu, 10 May 2012 10:24:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78438</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78438.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=78438</wfw:commentRss><description>You can, however, use conditional formatting rules to control the fill color.</description></item><item><title>Re: Change fill color, etc..</title><link>https://www.infopathdev.com:443/forums/thread/78422.aspx</link><pubDate>Wed, 09 May 2012 21:02:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78422</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78422.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=78422</wfw:commentRss><description>AFAIK, you don&amp;#39;t have access to control properties via code in InfoPath which&amp;nbsp;includes fill color.</description></item><item><title>Change fill color, etc..</title><link>https://www.infopathdev.com:443/forums/thread/78396.aspx</link><pubDate>Wed, 09 May 2012 15:09:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78396</guid><dc:creator>jsherman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78396.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=78396</wfw:commentRss><description>&lt;p&gt;Hello&lt;/p&gt;&lt;p&gt;&amp;nbsp; Is it possible to change the fill color of a control in InfoPath using vb.net code??&lt;/p&gt;</description></item></channel></rss>