<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Is there a way to programmatically set value of a table header?</title><link>https://www.infopathdev.com:443/forums/thread/77311.aspx</link><pubDate>Mon, 09 Apr 2012 15:56:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77311</guid><dc:creator>wheeliea</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77311.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=77311</wfw:commentRss><description>&lt;p&gt;Ah, thanks for the reply.&amp;nbsp; I didn&amp;#39;t realize I could put controls into a table header row.&lt;/p&gt;</description></item><item><title>Re: Is there a way to programmatically set value of a table header?</title><link>https://www.infopathdev.com:443/forums/thread/77308.aspx</link><pubDate>Mon, 09 Apr 2012 15:41:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77308</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77308.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=77308</wfw:commentRss><description>&lt;p&gt;Your original post doesn&amp;#39;t have a lot of detail, but let&amp;#39;s say you have a field that could be true or false, and you want to display a particular header based on the value of that field.&lt;/p&gt;
&lt;p&gt;You&amp;#39;d put two calculated value controls in your table header. One would have the text you wish to display if the field is true. It would be conditionally formatted to hide if the field was false. The second value would have the text you wish to display if the field is false. It would be conditionally formatted to hide if the field is true.&lt;/p&gt;
&lt;p&gt;You can also use a more complex expression to create a conditional value for your calculated value field (or expression box if InfoPath 2010) - more on that &lt;a href="http://blogs.msdn.com/b/infopath/archive/2006/11/27/conditional-default-values.aspx"&gt;here&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Re: Is there a way to programmatically set value of a table header?</title><link>https://www.infopathdev.com:443/forums/thread/77302.aspx</link><pubDate>Mon, 09 Apr 2012 13:59:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77302</guid><dc:creator>wheeliea</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77302.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=77302</wfw:commentRss><description>&lt;p&gt;I have not tried a calculated value field, how would this work?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Beth&lt;/p&gt;</description></item><item><title>Re: Is there a way to programmatically set value of a table header?</title><link>https://www.infopathdev.com:443/forums/thread/77300.aspx</link><pubDate>Mon, 09 Apr 2012 13:54:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77300</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77300.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=77300</wfw:commentRss><description>&lt;p&gt;Have you tried using a calculated value field?&lt;/p&gt;</description></item><item><title>Is there a way to programmatically set value of a table header?</title><link>https://www.infopathdev.com:443/forums/thread/77298.aspx</link><pubDate>Mon, 09 Apr 2012 13:35:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:77298</guid><dc:creator>wheeliea</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/77298.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=77298</wfw:commentRss><description>&lt;p&gt;I have a table with title control (layout) on my InfoPath form.&amp;nbsp; I would like to set the value of the header of the table based upon a value that the user sets in a particular field somewhere else on the form.&amp;nbsp; Is this possible?&lt;/p&gt;</description></item></channel></rss>