<?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: insert formula  accumulative sum</title><link>https://www.infopathdev.com:443/forums/thread/46865.aspx</link><pubDate>Thu, 10 Sep 2009 22:30:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46865</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46865.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46865</wfw:commentRss><description>&lt;p&gt;I vaguely remember that IP2003 had some .... oddities .... when trying to use the current() function in a default, which the sample I posted relies on. I&amp;#39;m not too sure of a good work around for that. If you know in advance how many choices your users would have, and what the values would be, you could simply use sums with filters -- like sum(dollarValueNode[../itemNode = &amp;#39;ItemA&amp;#39;]), but it loses its dynamic qualities.&lt;/p&gt;</description></item><item><title>Re: insert formula  accumulative sum</title><link>https://www.infopathdev.com:443/forums/thread/46783.aspx</link><pubDate>Wed, 09 Sep 2009 14:48:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46783</guid><dc:creator>Roxanne</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46783.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46783</wfw:commentRss><description>&lt;p&gt;The items are only showing up once in the summary but it isn&amp;#39;t totaling for me.&amp;nbsp; Any suggestions?&lt;/p&gt;</description></item><item><title>Re: insert formula  accumulative sum</title><link>https://www.infopathdev.com:443/forums/thread/46744.aspx</link><pubDate>Tue, 08 Sep 2009 21:23:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46744</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46744.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46744</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve attached a copy saved as IP 2003 format. Let me know if gives you any trouble.&lt;/p&gt;</description></item><item><title>Re: insert formula  accumulative sum</title><link>https://www.infopathdev.com:443/forums/thread/46741.aspx</link><pubDate>Tue, 08 Sep 2009 20:27:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46741</guid><dc:creator>Roxanne</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46741.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46741</wfw:commentRss><description>&lt;p&gt;Do you have an sample of this for InfoPath 2003?&lt;/p&gt;</description></item><item><title>Re: insert formula  accumulative sum</title><link>https://www.infopathdev.com:443/forums/thread/43169.aspx</link><pubDate>Thu, 18 Jun 2009 23:26:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43169</guid><dc:creator>idali</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43169.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=43169</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;hi&amp;nbsp;Hilary&lt;strong&gt;&lt;font face="Arial" size="2"&gt;&amp;nbsp;&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;yes, i use the sample and now it works,&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;my last question was only to&amp;nbsp;know&amp;nbsp;what is the difference between the tow xpath getting from the same formula&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;thank you very much&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: insert formula  accumulative sum</title><link>https://www.infopathdev.com:443/forums/thread/43166.aspx</link><pubDate>Thu, 18 Jun 2009 22:34:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43166</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43166.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=43166</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m sorry, I&amp;#39;m a little confused -- do you have this resolved for your form?&lt;/p&gt;</description></item><item><title>Re: insert formula  accumulative sum</title><link>https://www.infopathdev.com:443/forums/thread/43158.aspx</link><pubDate>Thu, 18 Jun 2009 19:51:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43158</guid><dc:creator>idali</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43158.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=43158</wfw:commentRss><description>&lt;p&gt;Hi Hilary,&lt;/p&gt;
&lt;p&gt;thanks for your advices thats works all the time.&lt;/p&gt;
&lt;p&gt;i have a question&amp;nbsp;about formula and xpath&amp;nbsp;:after editing the&amp;nbsp;formulat&amp;nbsp;: &lt;u&gt;@name[@id = current()/Client]&lt;/u&gt;&lt;/p&gt;
&lt;p&gt;the xpath is:&lt;/p&gt;
&lt;p&gt;xdXDocument:GetDOM(&amp;quot;clientnames&amp;quot;)/clients/client/@name[xdXDocument:GetDOM(&amp;quot;clientnames&amp;quot;)/clients/client/@id = current()/my:Client] &lt;/p&gt;
&lt;p&gt;and the expressionBox display&amp;nbsp; the first&amp;nbsp; items whatever the choice from the dropdownbox &lt;/p&gt;
&lt;p&gt;once i change a part by &amp;quot;..&amp;quot;&amp;nbsp; and the xpath became:&lt;/p&gt;
&lt;p&gt;xdXDocument:GetDOM(&amp;quot;clientnames&amp;quot;)/clients/client/@name[../@id = current()/my:Client]&lt;/p&gt;
&lt;p&gt;the expression box display exactly the&amp;nbsp;item chosen in the dropdownbox.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: insert formula  accumulative sum</title><link>https://www.infopathdev.com:443/forums/thread/43149.aspx</link><pubDate>Thu, 18 Jun 2009 18:02:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43149</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43149.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=43149</wfw:commentRss><description>&lt;p&gt;Saw your other post, please see the sample attached to this post.&lt;/p&gt;
&lt;p&gt;Right-click on the link in the header and select save as to save locally. Right click on the saved file and select Design to open in design mode, then preveiw. &lt;/p&gt;</description></item><item><title>Re: insert formula  accumulative sum</title><link>https://www.infopathdev.com:443/forums/thread/43147.aspx</link><pubDate>Thu, 18 Jun 2009 17:48:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43147</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43147.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=43147</wfw:commentRss><description>&lt;p&gt;This depends on where your drop down gets the list of values / display names. If they are manually entered into the list, we need to do some conditional values for our expression box. If they come from a secondary data source, it is a bit easier -- where do your drop downs get their list from? I&amp;#39;ll post a modified sample for you....&lt;/p&gt;</description></item><item><title>Re: insert formula  accumulative sum</title><link>https://www.infopathdev.com:443/forums/thread/43139.aspx</link><pubDate>Thu, 18 Jun 2009 16:52:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43139</guid><dc:creator>idali</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43139.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=43139</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;Hi Hilary,&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In the Sample ,@name is used tow times&amp;nbsp;in drop down box proprieties&amp;nbsp;&amp;nbsp;: for the value and name&lt;/p&gt;
&lt;p&gt;value----&amp;gt;@name&lt;/p&gt;
&lt;p&gt;..name---&amp;gt;@name&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 10pt;"&gt;in this case the expression box shows the name, &lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 10pt;"&gt;but if i use a Id for the Value (value----&amp;gt;@id) the expression box shows the&amp;nbsp;Id instead of&amp;nbsp;Name&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal" style="MARGIN:0cm 0cm 10pt;"&gt;how can i convert do Id to show the name instead&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;</description></item><item><title>Re: insert formula  accumulative sum</title><link>https://www.infopathdev.com:443/forums/thread/43093.aspx</link><pubDate>Wed, 17 Jun 2009 14:08:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43093</guid><dc:creator>idali</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43093.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=43093</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;Hi Hilary,&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;thank&amp;nbsp;you very much it&amp;#39;s exactly what i was looking for&amp;nbsp;, i&amp;#39;m trying right now to adapte it to my Form (&lt;/strong&gt;using additional fields that have default values that are filtered&lt;strong&gt;)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;thanks&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Re: insert formula  accumulative sum</title><link>https://www.infopathdev.com:443/forums/thread/43050.aspx</link><pubDate>Wed, 17 Jun 2009 01:22:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43050</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43050.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=43050</wfw:commentRss><description>&lt;p&gt;Hi:&lt;/p&gt;
&lt;p&gt;When you say you only want to display the active project, can you tell me more about what you mean? You can use an expression box to create a conditional sum (unless this is a browser based form, in which case you&amp;#39;ll have to add another field with a default value). Your formula for that expression would vary according to your data structure. There is a sample form &lt;a href="http://www.infopathdev.com/files/folders/examples/entry41116.aspx"&gt;here&lt;/a&gt; that may help you. &lt;/p&gt;It uses additional fields that have default values that are filtered, but I think it will give you an idea or two...</description></item><item><title>insert formula  accumulative sum</title><link>https://www.infopathdev.com:443/forums/thread/43043.aspx</link><pubDate>Tue, 16 Jun 2009 20:32:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43043</guid><dc:creator>idali</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43043.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=43043</wfw:commentRss><description>&lt;p&gt;Hello ,&lt;br /&gt;I m new to InfoPath I used to get all answers looking here in this wealth forum.&lt;br /&gt;I have a repeating table with a dropdown list to choose a project name &lt;br /&gt;Date -----Project------time&lt;br /&gt;-------------------------&amp;nbsp; total time&lt;br /&gt;One can fill out the form by picking a date, choosing a Project and adding time. The total time appear as sum of times &lt;br /&gt;Date1 -----Project1------time1&lt;br /&gt;Date2 -----Project2------time2&lt;br /&gt;Date3 -----Project1------time2&lt;br /&gt;-------------------------&amp;nbsp; total time&lt;br /&gt;What I want to do is to have automatically the accumulative time for each project that appear in the last repeating table&lt;br /&gt;Project1 ----totaltime&lt;br /&gt;Project2 ----totaltime&lt;br /&gt;Project3 ----totaltime&lt;br /&gt;The simplest way is to create a new table with all projects and make a conditional sum but I have a lot of project and I want to display only the active ones!&lt;br /&gt;Any idea &lt;/p&gt;</description></item></channel></rss>