<?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: Display the max value of a text field in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/27498.aspx</link><pubDate>Thu, 27 Mar 2008 16:28:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27498</guid><dc:creator>thoness</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27498.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27498</wfw:commentRss><description>&lt;p&gt;Sorry to keep tacking on to this thread.&amp;nbsp; But my situation is similar.&amp;nbsp; I have two nodes, Total C and Total I&amp;nbsp;each with a sum function to create a numerical value.&amp;nbsp; I have another node, TotalAssets&amp;nbsp;which takes a max value between the two said nodes.&amp;nbsp; I can&amp;#39;t get the syntax right to allow the max between two fields so I put the two fields in a group, called Totals_B&amp;nbsp;and took the max of that group.&amp;nbsp; I got it to work once however after I did some cleanup, I now get NaN as the value of my max.&lt;/p&gt;
&lt;p&gt;xdMath:Max(../my:Totals_B)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I tried making a rule that if Total C is greater then TotalI then use TotalC value for my&amp;nbsp;TotalAssets node and vice versa.&amp;nbsp; But the rule would only apply if you put a value in that TotalAssets node.&lt;/p&gt;</description></item><item><title>Re: Display the max value of a text field in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/27295.aspx</link><pubDate>Tue, 18 Mar 2008 18:10:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27295</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27295.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27295</wfw:commentRss><description>&lt;p&gt;1. What kind of values are in @TRASPORT_NUM? Just numbers?&lt;/p&gt;
&lt;p&gt;2. Are there ANY rows of @TRASPORT_NUM at all when you get this error value?&lt;/p&gt;
&lt;p&gt;3. Are there any rows of @TRASPORT_NUM that have non-numeric values?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t get 1.#QNAN, but if I have no rows, or any rows that have non-numeric values, I get NAN. This is expected.&lt;/p&gt;</description></item><item><title>Re: Display the max value of a text field in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/27279.aspx</link><pubDate>Tue, 18 Mar 2008 11:17:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27279</guid><dc:creator>zloggins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27279.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27279</wfw:commentRss><description>&lt;p&gt;I tested with just the max() value and it was fine. added in +1 and get this.... 1.#QNAN&lt;/p&gt;</description></item><item><title>Re: Display the max value of a text field in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/27266.aspx</link><pubDate>Mon, 17 Mar 2008 23:26:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27266</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27266.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27266</wfw:commentRss><description>&lt;p&gt;I just made a quick test form and it worked just fine without adding the space... make sure that you max function is returning a valid number.&lt;/p&gt;</description></item><item><title>Re: Display the max value of a text field in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/27265.aspx</link><pubDate>Mon, 17 Mar 2008 23:22:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27265</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27265.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27265</wfw:commentRss><description>&lt;p&gt;First verify that max(@TRASPORT_NUM) is returning a valid number. If not, see what&amp;#39;s wrong there.&lt;/p&gt;
&lt;p&gt;If it is returning a valid number, then try adding a space between the max() and the +1: max(@TRANSPORT_NUM) + 1 ---sometimes that can actually make a difference, as weird as that sounds.&lt;/p&gt;</description></item><item><title>Re: Display the max value of a text field in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/27240.aspx</link><pubDate>Mon, 17 Mar 2008 12:56:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27240</guid><dc:creator>zloggins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27240.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=27240</wfw:commentRss><description>&lt;p&gt;I am needing the max value of a field to display and add one to that number. This will be working as a transport number in this case and needs to be calculating and set. Also I am needing to use my own starting number.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Right now it doesnt seem to want to show anything.&lt;/p&gt;
&lt;p&gt;max(@TRANSPORT_NUM)+1 is what I am trying to work with.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any suggestions.&lt;/p&gt;</description></item><item><title>Re: Display the max value of a text field in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/26982.aspx</link><pubDate>Tue, 04 Mar 2008 17:24:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26982</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26982.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=26982</wfw:commentRss><description>&lt;p&gt;Glad to be able to help!&lt;/p&gt;</description></item><item><title>Re: Display the max value of a text field in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/26951.aspx</link><pubDate>Mon, 03 Mar 2008 22:00:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26951</guid><dc:creator>Nightfall</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26951.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=26951</wfw:commentRss><description>&lt;p&gt;Many many thanks Greg !&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Display the max value of a text field in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/26945.aspx</link><pubDate>Mon, 03 Mar 2008 19:05:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26945</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26945.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=26945</wfw:commentRss><description>&lt;p&gt;Create a default value formula for the text field and use the max() function:&lt;/p&gt;
&lt;p&gt;max(/table/row/field)&lt;/p&gt;</description></item><item><title>Display the max value of a text field in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/26928.aspx</link><pubDate>Mon, 03 Mar 2008 11:56:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26928</guid><dc:creator>Nightfall</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26928.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=26928</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hello all (again),&lt;/p&gt;&lt;p&gt;&amp;nbsp;I have a problem again with one of my forms.&lt;/p&gt;&lt;p&gt;I have a repeating table that has to dropdowns and a text field. The text field is automatically takes a numeric value.&lt;/p&gt;&lt;p&gt;So if my repeating table has 5 rows the text field could have these values : 1,5,11,2,9&lt;/p&gt;&lt;p&gt;I want to display the highest value of these five (in our case : 11) in another text field outside the repeating table.&lt;/p&gt;&lt;p&gt;Is that possible ?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Many thanks,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Alex&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>