<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: nestead Repeating in infoPath</title><link>https://www.infopathdev.com:443/forums/thread/76658.aspx</link><pubDate>Tue, 20 Mar 2012 19:50:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76658</guid><dc:creator>Tejas123</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76658.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=76658</wfw:commentRss><description>&lt;p&gt;ok..&amp;nbsp;i &amp;nbsp;have to display --- &lt;/p&gt;
&lt;p&gt;Two tables in SQL sever Part &amp;amp; Components ( Component has PartID). e.g. Part # 21321 made of components# 123, #345,#4545, #566 etc.&lt;/p&gt;
&lt;p&gt;Parent Table ---&amp;gt;&amp;nbsp; PartNumber&amp;nbsp;&amp;nbsp;, Part Type, Qty, Amt --&amp;nbsp; when part selected It populates details in same table &amp;amp; Populate , filter child table &lt;/p&gt;
&lt;p&gt;Child table ---&amp;gt; Components Details(Part made of )&amp;nbsp;-- &amp;gt; Components# ,Type, Qty, Amt,&lt;/p&gt;
&lt;p&gt;Need to show Components details only readonly mode, Add/Edit mode shows only Parent table.&lt;/p&gt;
&lt;p&gt;I can populate child table in add/edit mode when part selected or&lt;/p&gt;
&lt;p&gt;in read only mode.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;but using above code .. only add rows to first rows of parent table... not sure how to add rows to dyamic row mean same row child table.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: nestead Repeating in infoPath</title><link>https://www.infopathdev.com:443/forums/thread/76652.aspx</link><pubDate>Tue, 20 Mar 2012 17:56:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76652</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76652.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=76652</wfw:commentRss><description>Sorry, but I&amp;#39;m not quite understanding what your scenario is.&amp;nbsp; Are you trying to add values to a child table based on selections that are made from a parent table?&amp;nbsp; That is, you select parent 1 and then in a child table a row is added for child 1?</description></item><item><title>Re: nestead Repeating in infoPath</title><link>https://www.infopathdev.com:443/forums/thread/76650.aspx</link><pubDate>Tue, 20 Mar 2012 17:25:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76650</guid><dc:creator>Tejas123</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76650.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=76650</wfw:commentRss><description>&lt;p&gt;Thanks Anson, &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Yes, It works but my requirement is, mutiple colums in child table as below also&amp;nbsp; when re select dropdown it adds new value rows&amp;nbsp;instead of remove old rows &amp;amp; add new. &lt;/p&gt;
&lt;p&gt;my requirement display child table in Edit form only . &lt;/p&gt;
&lt;p&gt;so, not editable&amp;nbsp;parent data alway will be there &amp;amp; based parent&amp;nbsp; filter child data. but may be i have to populate child table in add form itself as won&amp;#39;t get any event to populate Child .&lt;/p&gt;
&lt;p&gt;Parent Item (Dropdown)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Qty.&amp;nbsp; Amt.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Child 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; &amp;nbsp;$33&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Child 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; &amp;nbsp;$4&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Child 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp; $23&lt;/p&gt;</description></item><item><title>Re: nestead Repeating in infoPath</title><link>https://www.infopathdev.com:443/forums/thread/76641.aspx</link><pubDate>Tue, 20 Mar 2012 16:06:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76641</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76641.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=76641</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;/p&gt;&lt;p&gt;I don&amp;#39;t think you need custom code to accomplish this.&amp;nbsp; Here are some tutorial videos that might help and I&amp;#39;ve included an XSN example that illustrates how to create cascading controls without code.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.youtube.com/watch?v=SH7xUEcQwwg"&gt;http://www.youtube.com/watch?v=SH7xUEcQwwg&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;a href="http://channel9.msdn.com/Blogs/laurhar/Use-Rules-and-Filters-to-Create-Cascading-Dropdowns-in-InfoPath"&gt;http://channel9.msdn.com/Blogs/laurhar/Use-Rules-and-Filters-to-Create-Cascading-Dropdowns-in-InfoPath&lt;/a&gt;&lt;/p&gt;</description></item><item><title>nestead Repeating in infoPath</title><link>https://www.infopathdev.com:443/forums/thread/76596.aspx</link><pubDate>Mon, 19 Mar 2012 20:34:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76596</guid><dc:creator>Tejas123</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76596.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=76596</wfw:commentRss><description>&lt;p&gt;Hello, &lt;/p&gt;
&lt;p&gt;I am trying to create nestead&amp;nbsp;repeating table as below, in Parent table dropdown select value, child table should be populated &amp;amp; filter based on dropdown value. &lt;/p&gt;
&lt;p&gt;Item pupulated in Dropdown in parent table &amp;amp; Components needs to populate in child table &lt;/p&gt;
&lt;p&gt;Item 1 (Dropdown)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; child 1&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; child 2&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;child 3&lt;/p&gt;
&lt;p&gt;Item 2&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; child 1&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; child 2&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp; child 3&lt;/p&gt;
&lt;p&gt;I have done following &lt;/p&gt;
&lt;p&gt;--------&lt;/p&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; myNamespace = NamespaceManager.LookupNamespace(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;my&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; MKid = GetValue(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;/my:myFields/my:group1/my:group2/my:field1&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;);&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;DataSource&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; dsSub = DataSources[&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;Components&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;];&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;XPathNavigator&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; domNavSub = dsSub.CreateNavigator(); &lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;XPathNodeIterator&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; rowsSub = domNavSub.Select(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager);&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;//Loop through secondary data source and populate the repeating table &lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;while&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; (rowsSub.MoveNext())&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;string&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; ItemNum =rowsSub.Current.SelectSingleNode(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;d:Item&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, NamespaceManager).Value.ToString();&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;using&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; (&lt;/font&gt;&lt;font color="#2b91af" size="2"&gt;&lt;font color="#2b91af" size="2"&gt;XmlWriter&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; writerSub =&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;MainDataSource.CreateNavigator().SelectSingleNode(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;/my:myFields/my:group1/my:group2/my:group3&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;,&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;NamespaceManager).AppendChild())&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt;writerSub.WriteStartElement(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;group4&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, myNamespace);&lt;/font&gt;&lt;/p&gt;&lt;font size="2"&gt;writerSub.WriteElementString(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;field4&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, myNamespace, ItemNum); &lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;writerSub.WriteEndElement();&lt;/p&gt;
&lt;p&gt;writerSub.Close();&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;---------&lt;/p&gt;
&lt;p&gt;&amp;nbsp;having issue that for any event new row data &amp;nbsp;added to 1st row of child table only but not new parent table row. please give me some guidance&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>