<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Lookup fields and Repeating Sections</title><link>https://www.infopathdev.com:443/forums/thread/80230.aspx</link><pubDate>Thu, 05 Jul 2012 14:10:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80230</guid><dc:creator>AdamAustin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80230.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80230</wfw:commentRss><description>&lt;p&gt;So I need to make all the repeating data come from one source, and the data that&amp;nbsp;I only want one copy of come from a secondary source?&lt;/p&gt;&lt;p&gt;For example, someone enters a delivery note number and the total amount of items received. I only want one copy of each of these per submission of data, so I should use a secondary data source?&lt;/p&gt;</description></item><item><title>Re: Lookup fields and Repeating Sections</title><link>https://www.infopathdev.com:443/forums/thread/80229.aspx</link><pubDate>Thu, 05 Jul 2012 14:05:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80229</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80229.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80229</wfw:commentRss><description>&lt;p&gt;The data source is what&amp;#39;s important - not the controls on the form so much. That is, it is the structure of the data source that determines the final data, does that make sense?&lt;/p&gt;</description></item><item><title>Re: Lookup fields and Repeating Sections</title><link>https://www.infopathdev.com:443/forums/thread/80197.aspx</link><pubDate>Wed, 04 Jul 2012 07:35:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80197</guid><dc:creator>AdamAustin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80197.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80197</wfw:commentRss><description>&lt;p&gt;Ah okay.&amp;nbsp;I just assumed that would be the way to get the field to stop repeating every time a new item was created, as I only want one copy of Delivery Note Number and Total Number of Items Received in every submission of data.&lt;/p&gt;</description></item><item><title>Re: Lookup fields and Repeating Sections</title><link>https://www.infopathdev.com:443/forums/thread/80176.aspx</link><pubDate>Tue, 03 Jul 2012 21:55:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80176</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80176.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80176</wfw:commentRss><description>&lt;p&gt;Well, actually - the field is repeating. You&amp;#39;ve just bound it to a non-repeating control. That doesn&amp;#39;t change the fact that in the schema it is in a repeating group, a sibling of the amount node. Every list item you create with this form will have a separate &amp;quot;Total received&amp;quot; field.&lt;/p&gt;</description></item><item><title>Re: Lookup fields and Repeating Sections</title><link>https://www.infopathdev.com:443/forums/thread/80175.aspx</link><pubDate>Tue, 03 Jul 2012 21:38:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80175</guid><dc:creator>AdamAustin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80175.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80175</wfw:commentRss><description>Nope, just the one Total Received field. It&amp;#39;s not in a repeating section. I&amp;#39;ve attached the .xsn if that&amp;#39;s any help!</description></item><item><title>Re: Lookup fields and Repeating Sections</title><link>https://www.infopathdev.com:443/forums/thread/80171.aspx</link><pubDate>Tue, 03 Jul 2012 18:51:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80171</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80171.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80171</wfw:commentRss><description>&lt;p&gt;So, if there are multiple Amount fields - there will also be multiple Total Recieved fields? Do you need to be comparing the total of both?&lt;/p&gt;</description></item><item><title>Re: Lookup fields and Repeating Sections</title><link>https://www.infopathdev.com:443/forums/thread/80170.aspx</link><pubDate>Tue, 03 Jul 2012 18:44:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80170</guid><dc:creator>AdamAustin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80170.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80170</wfw:commentRss><description>dfs:dataFields/my:SharePointListItem_RW/my:TotalRecieved != sum(xdMath:Nz(dfs:dataFields/my:SharePointListItem_RW/my:Amount))</description></item><item><title>Re: Lookup fields and Repeating Sections</title><link>https://www.infopathdev.com:443/forums/thread/80166.aspx</link><pubDate>Tue, 03 Jul 2012 17:42:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80166</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80166.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80166</wfw:commentRss><description>&lt;p&gt;Can you change the first dropdown of the condition to &amp;quot;The expression&amp;quot; and paste in the resulting XPath so I can see the whole condition?&lt;/p&gt;</description></item><item><title>Re: Lookup fields and Repeating Sections</title><link>https://www.infopathdev.com:443/forums/thread/80165.aspx</link><pubDate>Tue, 03 Jul 2012 17:37:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80165</guid><dc:creator>AdamAustin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80165.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80165</wfw:commentRss><description>&lt;p&gt;It makes total sense, but it doesn&amp;#39;t seem to work.&lt;/p&gt;&lt;p&gt;I have a rule on the submit button so if Total Received is not equal to sum(amount), the Submit button is hidden. Here is the XPath of the sum(amount)&lt;/p&gt;&lt;p&gt;sum(dfs:dataFields/my:SharePointListItem_RW/my:Amount)&lt;/p&gt;&lt;p&gt;But it only seems to work in the first Amount field. It&amp;#39;s not adding up all the Amounts from the repeating fields.&lt;/p&gt;</description></item><item><title>Re: Lookup fields and Repeating Sections</title><link>https://www.infopathdev.com:443/forums/thread/80152.aspx</link><pubDate>Tue, 03 Jul 2012 16:02:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80152</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80152.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80152</wfw:commentRss><description>&lt;p&gt;You are right - the point of a calculated field is to &lt;em&gt;not&lt;/em&gt; have to add a field to the data source to display the results of a calculation.&lt;/p&gt;
&lt;p&gt;However, you can use the same calculation for your conditional formatting. Add conditional formatting to your Submit button. For the first drop down in the condition, select the Total Number of Items Recieved field. Set the middle drop down to is equal to. For the third dropdown, use a formula - and you can use the same &amp;quot;sum&amp;quot; formula you are using in your expression. Make sense?&lt;/p&gt;</description></item><item><title>Re: Lookup fields and Repeating Sections</title><link>https://www.infopathdev.com:443/forums/thread/80151.aspx</link><pubDate>Tue, 03 Jul 2012 15:43:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80151</guid><dc:creator>AdamAustin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80151.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80151</wfw:commentRss><description>&lt;p&gt;That&amp;#39;s fantastic, thanks!&lt;/p&gt;&lt;p&gt;On a tangentially related note, I now have a calculated field that adds up all of the values in the &amp;#39;Amount&amp;#39; column. It works great, but i&amp;#39;d like to set it up so the Submit button is hidden unless the value in the calculated field is the same as the value in the &amp;#39;Total Number of Items received&amp;#39; box.&lt;/p&gt;&lt;p&gt;&lt;img style="width:648px;height:447px;" border="1" src="http://i50.tinypic.com/254wjko.png" width="648" height="447" alt="" /&gt;&lt;/p&gt;&lt;p&gt;I thought I could do this using conditional formatting, but the calculated field doesn&amp;#39;t appear to exist in my list of fields...&lt;/p&gt;</description></item><item><title>Re: Lookup fields and Repeating Sections</title><link>https://www.infopathdev.com:443/forums/thread/80149.aspx</link><pubDate>Tue, 03 Jul 2012 15:32:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80149</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80149.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80149</wfw:commentRss><description>&lt;p&gt;So, this could be simplified:&lt;/p&gt;
&lt;p&gt;xdXDocument:GetDOM(&amp;quot;EP Parts List&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Part_x0020_Description[../d:ID = current()]&lt;/p&gt;
&lt;p&gt;The current() function returns the current node - since you are in a repeating group, PartNo could have many instances. Your rule is on PartNo, thus current() refers &lt;em&gt;this&lt;/em&gt; PartNo. :-)&lt;/p&gt;</description></item><item><title>Re: Lookup fields and Repeating Sections</title><link>https://www.infopathdev.com:443/forums/thread/80141.aspx</link><pubDate>Tue, 03 Jul 2012 14:50:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80141</guid><dc:creator>AdamAustin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80141.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80141</wfw:commentRss><description>&lt;p&gt;Hilary, I think I have fixed it... although I&amp;#39;m not quite sure how it works:&lt;/p&gt;&lt;p&gt;This is the XPath value now that it&amp;#39;s working: &lt;/p&gt;&lt;p&gt;xdXDocument:GetDOM(&amp;quot;EP Parts List&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Part_x0020_Description[../d:ID = xdXDocument:get-DOM()/dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:PartNo_x002e_[. = current()]]&lt;/p&gt;</description></item><item><title>Re: Lookup fields and Repeating Sections</title><link>https://www.infopathdev.com:443/forums/thread/80137.aspx</link><pubDate>Tue, 03 Jul 2012 14:31:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80137</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80137.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80137</wfw:commentRss><description>&lt;p&gt;Hi - I think InfoPath may have &amp;quot;helped&amp;quot; with the filter (the bit in the square brackets in your actions) in an unhelpful way. Open the first rule, and open the formula editor (the &lt;strong&gt;&lt;em&gt;fx&lt;/em&gt;&lt;/strong&gt; button next to the value field). You&amp;#39;ll find a checkbox that will display the full XPath - check that box. Then copy the result, and paste the formula here. I&amp;#39;m guessing that IP used a full XPath to PartNo_x002e_ instead of a relative XPath.&lt;/p&gt;</description></item><item><title>Lookup fields and Repeating Sections</title><link>https://www.infopathdev.com:443/forums/thread/80080.aspx</link><pubDate>Mon, 02 Jul 2012 12:50:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80080</guid><dc:creator>AdamAustin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80080.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=80080</wfw:commentRss><description>&lt;p&gt;I&amp;nbsp;have a form:&lt;/p&gt;&lt;p&gt;&lt;img style="width:672px;height:496px;" border="1" src="http://i.imgur.com/t0dYP.png" width="672" height="496" alt="" /&gt;&lt;/p&gt;&lt;p&gt;&amp;#39;Part no.&amp;#39; is a lookup field that has the following rules:&lt;/p&gt;&lt;p&gt;&lt;img style="width:508px;height:283px;" border="1" src="http://i.imgur.com/ejChc.png" width="508" height="283" alt="" /&gt;&lt;/p&gt;&lt;p&gt;So basically it auto-updates Part Description, Serial Number and Size when a Part No. is selected.&lt;/p&gt;&lt;p&gt;The trouble i&amp;#39;m having is that when you insert a new repeating section and select a new&amp;nbsp;Part No., the Part Description, Serial Number and Size fields in the new section get populated by whenever you chose in the very first section instead of by what you chose in the new section.&amp;nbsp;How can I change this?&lt;/p&gt;</description></item></channel></rss>