<?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: Repeating Section Calculations</title><link>https://www.infopathdev.com:443/forums/thread/2441.aspx</link><pubDate>Mon, 05 Jun 2006 10:01:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2441</guid><dc:creator>adamsquires</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2441.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2441</wfw:commentRss><description>Hi, thank you for your reply - I have been away for the past week, but using an Expression Box control works perfectly as I dont need to save the results.&lt;br /&gt;&lt;br /&gt;Many Thanks, I really appreciate the help.&lt;br /&gt;&lt;br /&gt;Adam&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: Repeating Section Calculations</title><link>https://www.infopathdev.com:443/forums/thread/2440.aspx</link><pubDate>Thu, 25 May 2006 21:14:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2440</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2440.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2440</wfw:commentRss><description>The issue is that you have put the sum_parts_cost inside the record table.  I thought you wanted to sum all the parts/costs across records.&lt;br /&gt;&lt;br /&gt;Option 1) move that outside each record.&lt;br /&gt;Option 2) if you don&amp;#39;t actually need to store the data then use the &amp;quot;Expresion Box&amp;quot; control which doesn&amp;#39;t need to be bound to a field.  You can create the same formula to sum(parts_cost) across all the records.</description></item><item><title>Re: Repeating Section Calculations</title><link>https://www.infopathdev.com:443/forums/thread/2439.aspx</link><pubDate>Thu, 25 May 2006 09:39:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2439</guid><dc:creator>adamsquires</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2439.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2439</wfw:commentRss><description>&lt;b&gt;Just to clarify a bit more...&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;When I try to add the text box to the form (in which i wish to display the result of the sum), I click &amp;gt; Insert &amp;gt; Text Box - then a window pops up called 'Text Box Binding'. The message displayed is &lt;i&gt;'To set the binding, select a field or group in which to store the control's data:'&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;So, in the same window, the data source I chose is my Main source (from the Access Database), then MyFields &amp;gt; dataFields &amp;gt; d:Daily_Aftersales_Record, and within here I chose the 'Sum_Parts_Cost' field (rather than the Parts_Cost field - which is the one I wish to sum).&lt;br /&gt;&lt;br /&gt;I then receive the message:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;You have chosen to bind a non-repeating control to a reapeating field or group. The control will be bound to the first item in the repeating field or group. Do you want to continue?&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;.. to which I say Yes.&lt;br /&gt;&lt;br /&gt;Then formula &lt;i&gt;'sum(@Additional_Work_Done_Parts_Cost) + sum(@Additional_Work_Done_Parts_Cost)'&lt;/i&gt; and is entered into the fx box.&lt;br /&gt;&lt;br /&gt;Yet the value in 'Sum_Parts_Cost' remains '0'.&lt;br /&gt;&lt;br /&gt;:( adam</description></item><item><title>Re: Repeating Section Calculations</title><link>https://www.infopathdev.com:443/forums/thread/2438.aspx</link><pubDate>Wed, 24 May 2006 16:02:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2438</guid><dc:creator>adamsquires</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2438.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2438</wfw:commentRss><description>Thank you, there is hope at least!&lt;br /&gt;&lt;br /&gt;Am I doing the right thing regarding creating the text box for which this formula goes into? ...&lt;br /&gt;&lt;br /&gt;In order to insert a text box - it seems like it has to come from a data source. So I added the field 'Sum_Parts_Cost' to the database. I then created your suggested formula:&lt;br /&gt;&lt;br /&gt;sum(@Parts_Cost) +sum(@Parts_Cost)&lt;br /&gt;&lt;br /&gt;into the 'fx' value of that cell. The @ symbols appear when i go back into the 'fx' formula box. When I click Verify Formula it agrees that the formula does not contain any errors.&lt;br /&gt;&lt;br /&gt;Thank you again</description></item><item><title>Re: Repeating Section Calculations</title><link>https://www.infopathdev.com:443/forums/thread/2437.aspx</link><pubDate>Wed, 24 May 2006 09:10:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2437</guid><dc:creator>shailaja</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2437.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2437</wfw:commentRss><description>Hello,&lt;br /&gt;        You can add values form different repeating tables also for that you should insert this formula “sum (Parts_Cost) +sum (Parts_Cost)” for the text box.&lt;br /&gt;&lt;br /&gt;Hope this helps!</description></item><item><title>Re: Repeating Section Calculations</title><link>https://www.infopathdev.com:443/forums/thread/2436.aspx</link><pubDate>Tue, 23 May 2006 16:38:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2436</guid><dc:creator>adamsquires</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2436.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2436</wfw:commentRss><description>Yes, the formula I referred to came from Text Box Properties by clicking Value: 'fx'. It inserted the function as you described. Hmm...&lt;br /&gt;&lt;br /&gt;I think the problem I am encountering is because i'm trying to add values from different repeating sections.</description></item><item><title>Re: Repeating Section Calculations</title><link>https://www.infopathdev.com:443/forums/thread/2435.aspx</link><pubDate>Tue, 23 May 2006 13:23:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2435</guid><dc:creator>shailaja</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2435.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2435</wfw:commentRss><description>Hello Adam,&lt;br /&gt;         One question that I have for you – By saying “The formula I then enter into this control is: 'sum(@Parts_Cost)'” what do you mean? Do you mean that you have entered the formula for text box in InfoPath form? If you want to sum all the ‘Parts_Cost#%92 and display in InfoPath form, follow these steps:&lt;br /&gt;1.	Double click the text box.&lt;br /&gt;2.	Click on fx button in Default Value section.&lt;br /&gt;3.	Click on “Insert Function” button.&lt;br /&gt;4.	Select Math in Categories, Sum in Functions and click OK.&lt;br /&gt;5.	Double click on “double click to insert field” and select the field of which you want to have sum.&lt;br /&gt;6.	Click OK 3 times.&lt;br /&gt;&lt;br /&gt;Hope this helps!&lt;br /&gt;</description></item><item><title>Repeating Section Calculations</title><link>https://www.infopathdev.com:443/forums/thread/1307.aspx</link><pubDate>Tue, 23 May 2006 11:14:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1307</guid><dc:creator>adamsquires</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1307.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1307</wfw:commentRss><description>Hi there,&lt;br /&gt;&lt;br /&gt;I was wondering if anybody could help a relative newcomer to InfoPath. I have been playing with it for several weeks now, but i'm am having troubles creating 'sums' and 'counts'...&lt;br /&gt;&lt;br /&gt;I submit my forms to an Access 2003 database. Essentially, there is only the one 'Main Data Connection' - which the data is submitted to and queried from.&lt;br /&gt;&lt;br /&gt;When the database is queried, each record which I submitted to the database, is displayed in a new Repeating Section. So, after querying the database for all records of a specified Date, several results are displayed.&lt;br /&gt;&lt;br /&gt;The objective: e.g. each record has a field 'Parts_Cost'.&lt;br /&gt;In a seperate view, I wish to display the Sum of the 'Parts_Cost' fields (for each record displayed from the resutls of the query).&lt;br /&gt;&lt;br /&gt;When I insert a Text Box Control, InfoPath requires me to Bind the Text Box to a field from the Form's Data Source. To do this I created an extra field in the Access Database called 'Sum_Parts_Cost'. The formula I then enter into this control is: 'sum(@Parts_Cost)'. When I preview the form, the value in this field stays 0, regardless of the values in 'Parts_Cost' for each record. I have no idea what to try next.&lt;br /&gt;&lt;br /&gt;I hope that I have provided sufficient information - but if more is required I will certainly get back to you. I would appreciate absolutely any help possible. I may even be trying to do something, which just cant be done...&lt;br /&gt;&lt;br /&gt;many thanks,&lt;br /&gt;Adam</description></item></channel></rss>