<?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 Function question</title><link>https://www.infopathdev.com:443/forums/thread/47540.aspx</link><pubDate>Fri, 02 Oct 2009 13:58:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47540</guid><dc:creator>Derrick</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47540.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47540</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;max(field1|field2|field3) works like a charm.&lt;/p&gt;&lt;p&gt;Thanks so much, Alec &amp;amp; Qazi.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Max Function question</title><link>https://www.infopathdev.com:443/forums/thread/47533.aspx</link><pubDate>Fri, 02 Oct 2009 13:14:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47533</guid><dc:creator>Alec Pojidaev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47533.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47533</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Qazi Anis:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;try max(field1,max(field2,max(field3,...)))&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Max function doesn&amp;#39;t work that way.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The right expession: max(field1|field2|field3)&lt;/p&gt;</description></item><item><title>Re: Max Function question</title><link>https://www.infopathdev.com:443/forums/thread/47524.aspx</link><pubDate>Fri, 02 Oct 2009 03:39:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47524</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47524.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47524</wfw:commentRss><description>&lt;p&gt;try max(field1,max(field2,max(field3,...)))&lt;/p&gt;</description></item><item><title>Max Function question</title><link>https://www.infopathdev.com:443/forums/thread/47478.aspx</link><pubDate>Thu, 01 Oct 2009 15:50:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47478</guid><dc:creator>Derrick</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47478.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47478</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;&lt;p&gt;&amp;nbsp; I have several Text Boxes with Integer data type that allow user to input the value. I would like to calculate the maximum value of these fields by using the Max() function and assign it to a new field. I can&amp;#39;t get the Max() function to work properly. It doesn&amp;#39;t allow multiple fields as input arguments. I also combined all the fields into a single group and use it in the formula but it doesn&amp;#39;t work either and keep getting a &amp;quot;NaN&amp;quot; in the resulting field. Thanks for any
help!&lt;/p&gt;&lt;p&gt;Derrick &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt; Example:&lt;/p&gt;&lt;p&gt;Field1 =&amp;nbsp; 2, Field2 = 3 , Field3 = 5, Field4 =&amp;nbsp; 2, Field5 = 8 , Field6 = 5&lt;/p&gt;&lt;p&gt;Answer: MaxField = &amp;nbsp; 8&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>