<?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: NaN error when summing the results of multiple expression boxes</title><link>https://www.infopathdev.com:443/forums/thread/57320.aspx</link><pubDate>Sat, 24 Jul 2010 00:06:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57320</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57320.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57320</wfw:commentRss><description>&lt;p&gt;Are the work, Holiday, and Vacation fields themselves numeric, or do they have child fields that are numeric?&amp;nbsp; If it&amp;#39;s the latter, then that formula is not going to work.&lt;/p&gt;
&lt;p&gt;I think a screenshot of your data source, indicating which fields you want to sum, would help a lot.&lt;/p&gt;</description></item><item><title>Re: NaN error when summing the results of multiple expression boxes</title><link>https://www.infopathdev.com:443/forums/thread/57316.aspx</link><pubDate>Fri, 23 Jul 2010 22:56:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57316</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57316.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57316</wfw:commentRss><description>&lt;p&gt;Hi Tom,&lt;/p&gt;
&lt;p&gt;At first glance it seems like a potential data type mismatch on one of the fields?&amp;nbsp; Did you check each field to make sure you don&amp;#39;t have a data type issue?&lt;/p&gt;
&lt;p&gt;If you post the template I can take a look.&lt;/p&gt;
&lt;p&gt;Ted&lt;/p&gt;</description></item><item><title>NaN error when summing the results of multiple expression boxes</title><link>https://www.infopathdev.com:443/forums/thread/57314.aspx</link><pubDate>Fri, 23 Jul 2010 22:03:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:57314</guid><dc:creator>tsdonov</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/57314.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=57314</wfw:commentRss><description>&lt;p&gt;Ok, I&amp;#39;m a real newbie.&amp;nbsp; I&amp;#39;m converting a time sheet from paper to an infopath form.&amp;nbsp; I have&amp;nbsp;columns marked 1-15 (first 15&amp;nbsp;days of the month), and rows for activities.&amp;nbsp; So for example, I have a row for work, one for vacation, one for sick days, one for holidays, etc.&amp;nbsp; I&amp;#39;ve put the 15 day fields in each row into a group, and an expression box in the&amp;nbsp;last column of each row sums the 15 fields for that&amp;nbsp;group.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I have each of the 15 fields set as an integer, with a default value of zero, (although I&amp;#39;ve tried setting them as text strings too).&amp;nbsp; The expression box in the last column in each row) contains this formula: &lt;strong&gt;field24 + field25 + field26 + field27 + field28 + field29 + field30 + field31 + field32 + field33 + field34 + field35 + field36 + field37 + field38&lt;/strong&gt;, and accurately totals the fields.&amp;nbsp; The result is formatted as a whole number.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;But when I try to come up with a grand total of the various activities, Infopath returns NaN.&amp;nbsp; I&amp;#39;m trying to do this with another expression box with this formula:&amp;nbsp; &lt;strong&gt;sum(work | Holiday | Vacation),&lt;/strong&gt; for example (I&amp;#39;ve tried several variations of these, but everything I try returns NaN).&amp;nbsp; I&amp;#39;m sure I could simply sum every one of the fields involved, but that seems pretty cumbersome.&lt;/p&gt;
&lt;p&gt;The other method I tried was to total each day&amp;#39;s time, and then total the time for all 15 days.&amp;nbsp; Same result.&amp;nbsp; I can&amp;#39;t seem to find a way to get the program to add the results of two expression boxes together.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;This is my first attempt at Infopath - I&amp;#39;ve worked with formlas in Word and excel,&amp;nbsp;but I can&amp;#39;t seem to solve this one.&amp;nbsp; What am I doing wrong?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks -&lt;/p&gt;
&lt;p&gt;Tom Donovan&lt;/p&gt;</description></item></channel></rss>