<?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 Table - Autopopulate Secondary columns</title><link>https://www.infopathdev.com:443/forums/thread/96699.aspx</link><pubDate>Thu, 27 Mar 2014 09:23:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96699</guid><dc:creator>Wojciech_Smolka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96699.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=96699</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thank You! :-)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This works perfectly, I guess my error was that I did not use the&amp;nbsp;current() during pre-fill&amp;nbsp;filtering, instead targeting the main data field used for refference.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Now I just need to make the form upload to a SharePoint list&amp;nbsp;once approved, but I guess that is a completely different level of difficulty.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Regards&lt;/p&gt;&lt;p&gt;Wojtek&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Repeating Table - Autopopulate Secondary columns</title><link>https://www.infopathdev.com:443/forums/thread/96659.aspx</link><pubDate>Wed, 26 Mar 2014 10:22:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96659</guid><dc:creator>Mel Clemente</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96659.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=96659</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;Yes you can achieve this without code. I attached a sample form that would help you understand the logic needed to achieve what you want.&amp;nbsp;I&amp;#39;m using an XML file with data added as a resource file in the form - this should simulate data coming from a secondary data source which in your case&amp;nbsp;is a SharePoint list.&lt;/p&gt;&lt;p&gt;You&amp;#39;ll see in the SelectedPartNumber field, that there are rules that set Description and Price to that of the secondary data source&amp;#39;s Description where PartNumber equals the currently selected Part Number and so the formula for that is Description[PartNumber = current()] &lt;/p&gt;&lt;p&gt;Here&amp;#39;s the full XPath to the formula in my sample form: xdXDocument:GetDOM(&amp;quot;ListParts&amp;quot;)/ns1:ShPList/ns1:Parts/ns1:Part/ns1:Description[../ns1:PartNumber = current()].&lt;/p&gt;&lt;p&gt;Go ahead and try to replicate the logic in your form, replacing the XML data source references to your SharePoint list, and let me know when you get stuck or need further help.&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Repeating Table - Autopopulate Secondary columns</title><link>https://www.infopathdev.com:443/forums/thread/96619.aspx</link><pubDate>Mon, 24 Mar 2014 19:34:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96619</guid><dc:creator>Wojciech_Smolka</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96619.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=96619</wfw:commentRss><description>&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;Hello All,&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;I&amp;#39;m new to
InfoPath so please forgive me if a question I&amp;#39;m asking is a lame one, however
I&amp;#39;m struggling to resolve an issue I encountered with my InfoPath form.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;I have
created&amp;nbsp;a form that in concept is used for ordering&amp;nbsp;items, and then
further&amp;nbsp;I intend to upload the ordered items to&amp;nbsp;a SharePoint list.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;I have
managed to successfully implement the auto population of fields for the order
ship to info (Name/address/etc.) however I&amp;#39;m unable to make a fully functional
repeating table, for ordering the parts.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;In essence
my Table is&amp;nbsp;to be used to order parts that are pulled from a SharePoint
List. Since I want to enable the users to&amp;nbsp;select the Parts by both P/N and
Descriptions therefore I have&amp;nbsp;created auto populate rules so that when the
user selects a P/N from the list all of the remaining information (Description,
Price, and a default&amp;nbsp;adjustable QTY) will auto populate. The user can also
select from the description list and in that case the remaining information is
also auto populated in the other columns.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;The problem
I&amp;#39;m facing is that this only works for the first original row in the repeating
table.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;If I add
an&amp;nbsp;new row in the form,&amp;nbsp;the P/N once selected from the list, will
always default to the&amp;nbsp;one selected in the first row, along with the
remaining information. I can change it when I select from the list the second
time, but then the auto populate rules will not work and the description /
pricing will remain the same.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;I
can&amp;nbsp;use the description to select the item in the second row,&amp;nbsp;and
that *will* work, however then the third row will encounter the issue
(regardless weather I select via&amp;nbsp;P/N or Description&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&amp;nbsp;Any
suggestions how to fix this issue?&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:10pt;"&gt;&amp;nbsp;Is
this a simple matter of adjusting the rules or do I need to edit the underlying
code?&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;font face="Times New Roman" size="3"&gt;

&lt;br /&gt;&lt;/font&gt;&lt;/p&gt;</description></item></channel></rss>