<?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: Data Filtering and displaying corresponding data elements</title><link>https://www.infopathdev.com:443/forums/thread/71894.aspx</link><pubDate>Wed, 09 Nov 2011 16:05:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71894</guid><dc:creator>InfoPathAddict</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71894.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71894</wfw:commentRss><description>&lt;p&gt;its not working either way.&amp;nbsp; Let me give you the steps I tried, may be there are some issues with my steps:&lt;/p&gt;
&lt;p&gt;1) I have repeating section for a table item&lt;/p&gt;
&lt;p&gt;2) It has one dropdown control which is bound to secondary Dataconnection (secondary DC is tied to a lookup table with the following column(id1, desc1, id2, desc2, id3, desc3)&lt;/p&gt;
&lt;p&gt;3) the display name set to the desc3 column&amp;nbsp;and value field is set to ID3 field&lt;/p&gt;
&lt;p&gt;Now everything looks good as expected, now the requirement came to display Desc2 and Desc1&lt;/p&gt;
&lt;p&gt;4) Now I created a rule on the Dropdown control&lt;/p&gt;
&lt;p&gt;5) Action=&amp;nbsp; Set a Field&amp;#39;s&amp;nbsp; value&lt;/p&gt;
&lt;p&gt;6) set the Field= Desc2&lt;/p&gt;
&lt;p&gt;5)@Desc2[@ID3[. = current()]]&lt;/p&gt;
&lt;p&gt;I repeated the same for the Desc1&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now, when I preview and choose the dropdown first time it shows the expected value in Desc1 and Desc2. but when I choose another item, its not chaning the value.&amp;nbsp; it still show the first selection data.&amp;nbsp; -Any idea how to fix this?&lt;/p&gt;</description></item><item><title>Re: Data Filtering and displaying corresponding data elements</title><link>https://www.infopathdev.com:443/forums/thread/71399.aspx</link><pubDate>Tue, 25 Oct 2011 17:36:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71399</guid><dc:creator>InfoPathAddict</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71399.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71399</wfw:commentRss><description>&lt;p&gt;its not working either way.&amp;nbsp; Let me give you the steps I tried, may be there are some issues with my steps:&lt;/p&gt;
&lt;p&gt;1) I have repeating section for a table item&lt;/p&gt;
&lt;p&gt;2) It has one dropdown control which is bound to secondary Dataconnection (secondary DC is tied to a lookup table with the following column(id1, desc1, id2, desc2, id3, desc3)&lt;/p&gt;
&lt;p&gt;3) the display name set to the desc3 column&amp;nbsp;and value field is set to ID3 field&lt;/p&gt;
&lt;p&gt;Now everything looks good as expected, now the requirement came to display Desc2 and Desc1&lt;/p&gt;
&lt;p&gt;4) Now I created a rule on the Dropdown control&lt;/p&gt;
&lt;p&gt;5) Action=&amp;nbsp; Set a Field&amp;#39;s&amp;nbsp; value&lt;/p&gt;
&lt;p&gt;6) set the Field= Desc2&lt;/p&gt;
&lt;p&gt;5)@Desc2[@ID3[. = current()]]&lt;/p&gt;
&lt;p&gt;I repeated the same for the Desc1&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now, when I preview and choose the dropdown first time it shows the expected value in Desc1 and Desc2. but when I choose another item, its not chaning the value.&amp;nbsp; it still show the first selection data.&amp;nbsp; -Any idea how to fix this?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Data Filtering and displaying corresponding data elements</title><link>https://www.infopathdev.com:443/forums/thread/71367.aspx</link><pubDate>Mon, 24 Oct 2011 19:37:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71367</guid><dc:creator>R&amp;#233;mi MATAYRON</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71367.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71367</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;You can use some rules into your dropdown id3Desc.&lt;/p&gt;&lt;p&gt;On this rule that use Action &amp;quot;Set a value to a field&amp;quot;, you can affect data two 2 InfoPath field in order to show your data.&lt;/p&gt;&lt;p&gt;For exemple, select your InfoPath Field &amp;quot;id2Desc&amp;quot; in the rule and set the value by filter your secondary data source with the value select in the dropdown (for exemple : SecondaryDataSource/ID2Desc[ID3Desc = dropdownValue]).&lt;/p&gt;&lt;p&gt;&amp;nbsp;It is not so easy to explain like this...&lt;/p&gt;&lt;p&gt;Have a look here : &lt;a href="http://office.microsoft.com/en-us/infopath-help/filter-the-data-that-is-displayed-in-a-control-HA010024281.aspx"&gt;http://office.microsoft.com/en-us/infopath-help/filter-the-data-that-is-displayed-in-a-control-HA010024281.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Hope this help.&lt;/p&gt;</description></item><item><title>Data Filtering and displaying corresponding data elements</title><link>https://www.infopathdev.com:443/forums/thread/71364.aspx</link><pubDate>Mon, 24 Oct 2011 19:27:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:71364</guid><dc:creator>InfoPathAddict</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/71364.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=71364</wfw:commentRss><description>&lt;div class="ForumPostContentText"&gt;
&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a unique situation,&amp;nbsp; I pulled data from a table and loaded to a dropdown, but I want to show the corresponding rows other data in a label or text box.&lt;/p&gt;
&lt;p&gt;Table A)&amp;nbsp; id1, id1Desc, id2, id2Desc, id3, id3Desc&lt;/p&gt;
&lt;p&gt;I&amp;#39;m displaying id3Desc in a drop down, as soon as I select the dropdown, I want hte corresponding id1Desc and id2Desc in a text box or label.&lt;/p&gt;&lt;/div&gt;</description></item></channel></rss>