<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: max value of two controls</title><link>https://www.infopathdev.com:443/forums/thread/27853.aspx</link><pubDate>Thu, 10 Apr 2008 18:30:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27853</guid><dc:creator>thoness</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27853.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27853</wfw:commentRss><description>&lt;p&gt;That was what I ended up doing.&amp;nbsp; I thought there was a fucntion that I didn&amp;#39;t know about that would receive similar results with less work.&amp;nbsp; Thanks for the help Clay!&lt;/p&gt;</description></item><item><title>Re: max value of two controls</title><link>https://www.infopathdev.com:443/forums/thread/27848.aspx</link><pubDate>Thu, 10 Apr 2008 18:13:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27848</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27848.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27848</wfw:commentRss><description>&lt;p&gt;Max is used on a repeating node to return the largest value from the list. Since these are two fields you need to think simpler.&lt;/p&gt;
&lt;p&gt;In your case you would have two conditional rules a&amp;gt;b and b&amp;gt;a and then have your action, maybe set max with value of a if it is greater, etc.&lt;/p&gt;</description></item><item><title>max value of two controls</title><link>https://www.infopathdev.com:443/forums/thread/27842.aspx</link><pubDate>Thu, 10 Apr 2008 17:10:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27842</guid><dc:creator>thoness</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27842.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27842</wfw:commentRss><description>&lt;p&gt;How would I go about doing that?&amp;nbsp; Everytime I try to build a formula I always get a syntax error when I verified.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It would look like this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;node a, node b&lt;/p&gt;
&lt;p&gt;max(node a, node b)&lt;/p&gt;
&lt;p&gt;So I thought I&amp;#39;ll just create a group of the two and do a max of the group.&amp;nbsp; But then I would just NaN for the value.&amp;nbsp; I&amp;#39;m probably using the wrong function but I don&amp;#39;t see anything that would work.&amp;nbsp; I&amp;#39;ve done a workaround by creating dummy controls with rules to take the value of a if a is greater then b.&amp;nbsp; Any suggestions?&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>