<?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: Select repeating table by drop down list</title><link>https://www.infopathdev.com:443/forums/thread/107890.aspx</link><pubDate>Thu, 08 Sep 2016 14:58:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107890</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107890.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107890</wfw:commentRss><description>Unfortunately, you cannot copy repeating data in InfoPath with rules. You&amp;#39;ll have to use code (or you could try qRules) for this. Another option, if you know the max number of rows you may need, would be to use default data.... is this something where you might be able to guess the max number of rows?</description></item><item><title>Select repeating table by drop down list</title><link>https://www.infopathdev.com:443/forums/thread/107836.aspx</link><pubDate>Wed, 31 Aug 2016 21:08:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:107836</guid><dc:creator>Jon_H</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/107836.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=107836</wfw:commentRss><description>I’m new to using InfoPath and I have done a lot a searching but have yet to find what I am looking for. I am using InfoPath 2013 and I am trying to populate a repeating table based on a dropdown list. Depending on the selection of the dropdown a particular xml secondary data connection is used to fill the table. The information I am working with is static and will not be connecting to SharePoint. I have been able to get the table to show up however I am only getting the first row on the information. Below are the details.


I have a drop down list made with manually created choices.

I have multiple xml files as my secondary data source.

My rule for a particular option on the drop down looks like this: 

        Condition: Choice = &amp;quot;Secondarysource1&amp;quot;
        Run these actions:
               Action1
                       Field: Column1
                       Value: SecondaryColumn1[.!=Column1]

               Action2
                       Field: Column2
                       Value: SecondaryColumn2[.!=Column2]

               Action2
                       Field: Column2
                       Value: SecondaryColumn2[.!=Column2]

What I end up getting is a table like this:

| Column1 | Column2 | Column3 |
-----------------------------------------
| Data1      |  Data2    | Data3      |
-----------------------------------------

What I should get is:

| Column1 | Column2 | Column3 |
-----------------------------------------
| Data1      |  Data2    | Data3      |
-----------------------------------------
| Data4      |  Data5    | Data6      |
-----------------------------------------
| Data7      |  Data8    | Data9      |
-----------------------------------------
| Data10    |  Data11  | Data12    |
-----------------------------------------
| Data13    |  Data14  | Data15    |
-----------------------------------------</description></item></channel></rss>