<?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>Infopath form Repeating table and sections</title><link>https://www.infopathdev.com:443/forums/thread/69723.aspx</link><pubDate>Fri, 26 Aug 2011 21:13:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69723</guid><dc:creator>kirandusi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69723.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=69723</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi i have the following scenario please suggest.&lt;/p&gt;&lt;p&gt;Have controls in my form in the below order&lt;/p&gt;&lt;p&gt;Repeating table Primary(RTP)&lt;/p&gt;&lt;p&gt;Repeating Section Primary(RSP)&lt;/p&gt;&lt;p&gt;Repeating table Secondary(RTS)&lt;/p&gt;&lt;p&gt;Repeating section Secondary (RSS)&lt;/p&gt;&lt;p&gt;RSP must be shown when RTP is there&lt;/p&gt;&lt;p&gt;RSS must be shoen when RTS is there&lt;/p&gt;&lt;p&gt;Both repeating tabeles are pointing to same datasource but filtered based on column with value primary or secondary.&lt;/p&gt;&lt;p&gt;If i apply the same filtering condition to repeating sections its not filtering, they were displayed&amp;nbsp; all the time.&lt;/p&gt;&lt;p&gt;so i added repeating sections from code only when data is entered in a repeating table .&lt;/p&gt;&lt;p&gt;now the problem is my repeating table has an edit and delete button on click of last delete button in primary table primary section has to be removed, on click of last delete button in secondary table secondary section has to be removed, please let me knnow if some one tried out this scenario.&lt;/p&gt;&lt;p&gt;Note: Both repeating table&amp;#39;s point to same data source so based on row count i cant filter.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>