<?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: Setting a field value based on a dropdown not displaying repeating values</title><link>https://www.infopathdev.com:443/forums/thread/79557.aspx</link><pubDate>Fri, 15 Jun 2012 19:22:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79557</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79557.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79557</wfw:commentRss><description>Do you need to be able to populate the repeating table with data from the secondary data source, or just display a read-only table of the associated data?&amp;nbsp; For the latter, all you would need is a filtered repeating table that&amp;#39;s bound to the secondary data source.&amp;nbsp; The former is a bit trickier, but there are probably ways to accomplish it marginally well with a completely codeless approach, and even better with qRules.</description></item><item><title>Re: Setting a field value based on a dropdown not displaying repeating values</title><link>https://www.infopathdev.com:443/forums/thread/79542.aspx</link><pubDate>Fri, 15 Jun 2012 13:56:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79542</guid><dc:creator>ladyath</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79542.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79542</wfw:commentRss><description>The only solutions I ever found required code and at the time I had to work on this issue that was simply not an option.&amp;nbsp; Unfortunately I do not have those links anymore, but Google gave me some info - I was just not able to apply it.&amp;nbsp; Good luck!</description></item><item><title>Re: Setting a field value based on a dropdown not displaying repeating values</title><link>https://www.infopathdev.com:443/forums/thread/79486.aspx</link><pubDate>Thu, 14 Jun 2012 12:57:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:79486</guid><dc:creator>chintan.desai</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/79486.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=79486</wfw:commentRss><description>Hello ladyath ,

I am facing the same issue. Did you got any solution ?</description></item><item><title>Re: Setting a field value based on a dropdown not displaying repeating values</title><link>https://www.infopathdev.com:443/forums/thread/73244.aspx</link><pubDate>Sat, 24 Dec 2011 11:03:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73244</guid><dc:creator>ladyath</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73244.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=73244</wfw:commentRss><description>I eventually just created different forms for each of the RiskRef&amp;#39;s I would need to use.&amp;nbsp;</description></item><item><title>Re: Setting a field value based on a dropdown not displaying repeating values</title><link>https://www.infopathdev.com:443/forums/thread/73124.aspx</link><pubDate>Tue, 20 Dec 2011 20:34:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73124</guid><dc:creator>ladyath</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73124.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=73124</wfw:commentRss><description>&lt;p&gt;i just read on another post that the only way to do this would be to use code.&amp;nbsp; I know far too little about C# or VB to try figure it out on my own.&amp;nbsp; Can anyone point me to online resources or books that cover how to create the code to populate the additional rows in my repeating tables using the RiskRefDropDown value?&lt;/p&gt;</description></item><item><title>Setting a field value based on a dropdown not displaying repeating values</title><link>https://www.infopathdev.com:443/forums/thread/73114.aspx</link><pubDate>Tue, 20 Dec 2011 08:51:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:73114</guid><dc:creator>ladyath</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/73114.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=73114</wfw:commentRss><description>&lt;p&gt;I have a dropdown that pulls its source data from MSSQL.&amp;nbsp; The dropdown populates various views based on the reference (RiskRef) that is selected in the dropdown.&amp;nbsp; The dropdown is not inside a repeating section or table.&lt;/p&gt;
&lt;p&gt;It works fine where there is only one line of item to display, but where there is a one to many relationship, I need to display the data in a repeating section.&amp;nbsp; Unfortunately if I use the rule to set the field value based on the dropdown, it populates only the first line from the database.&amp;nbsp; Thus all my repeating sections have only one entry.&amp;nbsp; The SQL query is a secondary data source using a view (View_XXXXX).&amp;nbsp; For example, if I have a risk called RISK1, it may have multiple controls attached to it:&amp;nbsp; CTRL1, CTRL2, CTRL3, etc.&amp;nbsp; Unfortunately it only displays CTRL1 and none of the others.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The setup looks like this:&lt;/p&gt;
&lt;p&gt;View 1:&lt;/p&gt;
&lt;p&gt;Dropdown of items (RiskRefDropDown)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;View 2:&lt;/p&gt;
&lt;p&gt;Risk information (all fields populated based on the @RiskRef and working fine).&amp;nbsp; An example of a field set rule is:&amp;nbsp; &lt;/p&gt;
&lt;p&gt;xdXDocument:GetDOM(&amp;quot;View_XXXXX&amp;quot;)/dfs:myFields/dfs:dataFields/d:View_XXXXX/@GrossExp[../@RiskRef = xdXDocument:get-DOM()/my:CustomFields/my:RiskSection/my:RiskRefDropDown]&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;View 3:&lt;/p&gt;
&lt;p&gt;Control information (all data reside in repeating sections, but it only displays the first row from the database).&amp;nbsp; The backend database have multiple tables linked by a field called RiskRef.&amp;nbsp; Because the view has multiple references to RiskRef, it has changed some of the fields to Expr instead.&amp;nbsp; Thus an example of a field set rule is:&lt;/p&gt;
&lt;p&gt;xdXDocument:GetDOM(&amp;quot;View_XXXXX&amp;quot;)/dfs:myFields/dfs:dataFields/d:View_XXXXX/@ControlOwner[../@Expr1 = xdXDocument:get-DOM()/my:CustomFields/my:RiskSection/my:RiskRefDropDown]&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there something wrong with my XPath that it only displays one row in a repeating section?&amp;nbsp; Or is there something else I need to do?&amp;nbsp; Any assistance would be much appreciated!&lt;/p&gt;</description></item></channel></rss>