<?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: Issue with Inserting New Item in Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/67422.aspx</link><pubDate>Thu, 16 Jun 2011 16:38:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67422</guid><dc:creator>Konstantin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67422.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=67422</wfw:commentRss><description>current() - is reference to current record
 ../@Full_Name = current() - is incorrect
correct use this function with field which value you want to compare
 f.e. current()/@Full_Name, but need to see what current repeated block is active</description></item><item><title>Re: Issue with Inserting New Item in Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/67347.aspx</link><pubDate>Tue, 14 Jun 2011 16:37:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67347</guid><dc:creator>jbegic</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67347.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=67347</wfw:commentRss><description>&lt;p&gt;Problem solved with value:&lt;/p&gt;
&lt;p&gt;xdXDocument:GetDOM(&amp;quot;Contacts&amp;quot;)/dfs:myFields/dfs:dataFields/dfs:Contacts/@Address[xdXDocument:get-DOM()/my:myFields/my:Builds/my:DVTBuild/my:FullName = &lt;a href="mailto:../@Full_Name"&gt;../@Full_Name&lt;/a&gt; and &lt;a href="mailto:../@Full_Name"&gt;../@Full_Name&lt;/a&gt; = current()]&lt;/p&gt;</description></item><item><title>Re: Issue with Inserting New Item in Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/67298.aspx</link><pubDate>Mon, 13 Jun 2011 17:29:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67298</guid><dc:creator>jbegic</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67298.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=67298</wfw:commentRss><description>&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;span style="FONT-SIZE:12pt;mso-ascii-font-family:Calibri;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;mso-hansi-font-family:Calibri;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;Thank you for your reply Hilary... I am still struggling with this and I do not have any answers to this problem yet.&lt;/span&gt;&lt;span style="FONT-FAMILY:&amp;#39;Times New Roman&amp;#39;,&amp;#39;serif&amp;#39;;FONT-SIZE:12pt;mso-fareast-font-family:&amp;#39;Times New Roman&amp;#39;;"&gt;&lt;/span&gt; 
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Here is more (important) info on this issue... I have 4 columns (Factory, Full Name, Address, Phone Number) I created in SharePoint List called “Contacts”. &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;In InfoPath I have “&lt;strong&gt;&lt;u&gt;DVTShipTo&lt;/u&gt;&lt;/strong&gt;” Field which is a Drop-Down List Box (part of the repeating table) and I have checked “Show only entries with unique display names”. &lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;List Box choices are set to “Get Choices from an external data source” and it is pointing to my SharePoint List called “Contacts”. &lt;/font&gt;&lt;/font&gt;
&lt;ul&gt;
&lt;li&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Under Entries I have: /dfs:myFields/dfs:dataFields/dfs:Contacts&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Value: @Factory&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Display name: @Factory&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;I have another Drop-Down List Box (part of the repeating table) called “&lt;strong&gt;&lt;u&gt;FullName&lt;/u&gt;&lt;/strong&gt;”. &lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;List Box choices are also set to “Get Choices from an external data source” and it is pointing to my SharePoint List called “Contacts”. &lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/font&gt; 
&lt;ul&gt;
&lt;li&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Under Entries I have: /dfs:myFields/dfs:dataFields/dfs:Contacts[current()/my:DVTShipTo = @Factory and @Factory = current()/my:DVTShipTo]&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Value:@Full_Name&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Display name: @Full_Name&lt;/font&gt;&lt;/font&gt;&lt;font size="3" face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/li&gt;&lt;/ul&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Now… In repeating table section first row, let’s say if I select &lt;em&gt;Factory 1&lt;/em&gt; from the &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;“&lt;strong&gt;&lt;u&gt;DVTShipTo&lt;/u&gt;&lt;/strong&gt;” drop-down field, this will filter items to show only Names associated with this factory under “&lt;strong&gt;&lt;u&gt;FullName&lt;/u&gt;&lt;/strong&gt;” drop-down field. &lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Once I select the name, the &amp;quot;&lt;strong&gt;&lt;u&gt;Address&lt;/u&gt;&lt;/strong&gt;&amp;quot; field (part of the repeating table) will auto populate and this works perfectly each time.&lt;/font&gt;&lt;/font&gt;&lt;font size="3" face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;The problem is when I “insert New Item”/ row… &lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;When I pick the factory to filter the name, the address field now would be inaccurate. &lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Here is the rule for that:&lt;/font&gt;&lt;/font&gt; 
&lt;ul&gt;
&lt;li&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Condition: None&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Rule type: Action&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Run these actions: Set a field’s value&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Field: &lt;strong&gt;&lt;u&gt;Address&lt;/u&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/li&gt;
&lt;li&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;&lt;strong&gt;&lt;u&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Value: xdXDocument:GetDOM(&amp;quot;Contacts&amp;quot;)/dfs:myFields/dfs:dataFields/dfs:Contacts/@Address[xdXDocument:get-DOM()/my:myFields/my:Builds/my:DVTBuild/my:FullName = ../@Full_Name]&lt;/font&gt;&lt;/font&gt; &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;I hope there is simple solution for this problem and I am just missing some key points... Good thing to note, couple months ago I have started to work with SharePoint and this is my first project that involves&amp;nbsp;Infopath&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;</description></item><item><title>Re: Issue with Inserting New Item in Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/67249.aspx</link><pubDate>Fri, 10 Jun 2011 15:16:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67249</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67249.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=67249</wfw:commentRss><description>&lt;p&gt;Your rule is on the DVTShipTo Field? Are you 100% sure that you have a set of unique @Factory field values? That is, if there were multiple addresses for the same factory, IP will return the first one it finds....&lt;/p&gt;
&lt;p&gt;You are going to have to do a bit of detective work so you can determine the conditions where you get an incorrect address....&lt;/p&gt;</description></item><item><title>Issue with Inserting New Item in Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/67158.aspx</link><pubDate>Tue, 07 Jun 2011 20:27:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67158</guid><dc:creator>jbegic</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67158.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=67158</wfw:commentRss><description>&lt;font face="Calibri"&gt;&lt;font size="3"&gt;I have multiple fields in repeating table and one of them is called “DVTShipTo” which is a Drop-Down List. Under this control, I have 10 different Shipping locations.&lt;/font&gt;&lt;font size="3"&gt;I have created Data Connection that pulls Contact Information from the SharePoint and based on my location selection, should auto-populate address information.&lt;/font&gt;&lt;font size="3"&gt;Now… When I select Shipping Location to let’s Say “Location #1”, it would automatically auto populate address field correctly. The problem is, when I insert NEW ITEM in Repeating table… I have seen instances when it works fine but most of the time, it would display incorrect address. &lt;/font&gt;&lt;font size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;font size="3"&gt;Here is my Rule:&lt;/font&gt;&lt;font size="3"&gt;Action =&amp;gt; Set a field’s value&lt;/font&gt;&lt;font size="3"&gt;Field =&amp;gt; Address&lt;/font&gt;&lt;font size="3"&gt;Value =&amp;gt; @Addy[DVTShipTo = @Factory]&lt;/font&gt;&lt;font size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;font size="3"&gt;Does anyone know how to fix this issue?&lt;/font&gt;&lt;/font&gt;</description></item></channel></rss>