<?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: Value not updating from the secondary data source.</title><link>https://www.infopathdev.com:443/forums/thread/83118.aspx</link><pubDate>Fri, 28 Sep 2012 16:46:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83118</guid><dc:creator>infopath_newbee</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83118.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83118</wfw:commentRss><description>&lt;p&gt;Hi&amp;nbsp;									                
									            
									        &lt;a href="http://www.infopathdev.com/members/My-Self-The-Enemy.aspx"&gt;Gennady, &lt;/a&gt;&lt;/p&gt;&lt;p&gt;Thank you so much. It works like a charm.&lt;/p&gt;&lt;p&gt;Thanks Again. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Value not updating from the secondary data source.</title><link>https://www.infopathdev.com:443/forums/thread/83061.aspx</link><pubDate>Thu, 27 Sep 2012 05:43:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83061</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83061.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83061</wfw:commentRss><description>&lt;p&gt;I see that your filter contains expression &lt;/p&gt;&lt;p&gt;&lt;img src="http://i.imgur.com/JZLgV.jpg" alt="" /&gt;&lt;/p&gt;&lt;p&gt;the rationale of which is blurred for me &lt;/p&gt;&lt;p&gt;In your &lt;b&gt;Rule Details&lt;/b&gt; ,&amp;nbsp; press &lt;b&gt;fx&lt;/b&gt; &amp;gt; double-click on your formula expression &amp;gt; &lt;b&gt;Filter Data.. &lt;/b&gt;&amp;gt; &lt;b&gt;Modify...&lt;/b&gt; &amp;gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;in the left dropdown choose &lt;b&gt;Column2&lt;/b&gt; (instead &lt;b&gt;The expression&lt;/b&gt;)&lt;/li&gt;&lt;li&gt;in the right dropdown (after &lt;b&gt;is equal to&lt;/b&gt;) choose &lt;b&gt;Select a field or group...&lt;/b&gt; &lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;img src="http://i.imgur.com/mrhc1.jpg" alt="" /&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;and then, having changed to &lt;b&gt;Main&lt;/b&gt;&amp;nbsp; data source, select &lt;b&gt;field1 &lt;/b&gt;and press OK few times&lt;/p&gt;&lt;p&gt;Run (F5) and it should work &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;PS (ramblings): &lt;br /&gt;&lt;/p&gt;&lt;p&gt;You should put into textbox field2 (linked to data fiels field2 of Main Data Source) the value of Column3 element ( from dropdown &lt;b&gt;field1&lt;/b&gt;&amp;#39;s linked to&amp;nbsp; secondary data source or embedded XML file), so that its Column2 value is equal to &lt;b&gt;Value:&lt;/b&gt; from field1 of Main data source &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;img src="http://i.imgur.com/Z5WUf.jpg" title="Dropdown List Box Properties (Gennady Vanin)" alt="Dropdown List Box Properties (Gennady Vanin)" height="566" width="414" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So, having chosen field1, you create a rule of type action, Run these actions:, &lt;br /&gt;Action:Set a field&amp;#39;s value&lt;br /&gt;Field: field2 (textbox in Main Data Source)&lt;br /&gt;Value: press fx &amp;gt; Insert Field or Group... &amp;gt; choose secondary data source &lt;b&gt;sample (Secondary)&lt;/b&gt; &amp;gt; choose &lt;b&gt;Column3&lt;/b&gt; &amp;gt; press &lt;b&gt;Filter Data...&lt;/b&gt; &amp;gt; &lt;b&gt;Add..&lt;/b&gt; &amp;gt;&lt;br /&gt;&lt;br /&gt;on the left dropdown&amp;nbsp; choose &lt;b&gt;Column2&lt;/b&gt; &lt;br /&gt;on the right dropdown of &lt;b&gt;Filter Data&lt;/b&gt; Dialog (of &lt;b&gt;Insert Formula&lt;/b&gt;), press &lt;b&gt;Select a field or Group...&lt;/b&gt; and choose &lt;b&gt;field1&lt;/b&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Value not updating from the secondary data source.</title><link>https://www.infopathdev.com:443/forums/thread/83053.aspx</link><pubDate>Wed, 26 Sep 2012 21:36:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83053</guid><dc:creator>infopath_newbee</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83053.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83053</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi 
									            
									        &lt;a href="http://www.infopathdev.com/members/My-Self-The-Enemy.aspx"&gt;Gennady Vanin&lt;/a&gt;, &lt;/p&gt;&lt;p&gt;I have attached the file in this post. Please see the attachment.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Value not updating from the secondary data source.</title><link>https://www.infopathdev.com:443/forums/thread/83052.aspx</link><pubDate>Wed, 26 Sep 2012 21:34:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83052</guid><dc:creator>infopath_newbee</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83052.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83052</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi 									            
									        &lt;a href="http://www.infopathdev.com/members/My-Self-The-Enemy.aspx"&gt;Gennady Vanin&lt;/a&gt;, &lt;/p&gt;&lt;p&gt;I have attached the screenshot. I will be attaching the actual file , if you click on the rules of the field &amp;quot;field1&amp;quot; you will see&amp;nbsp; it.But the image has few screen shots to explain it &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Value not updating from the secondary data source.</title><link>https://www.infopathdev.com:443/forums/thread/83021.aspx</link><pubDate>Wed, 26 Sep 2012 04:15:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83021</guid><dc:creator>Gennady Vanin (Геннадий Ванин, Новосибирск)</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83021.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83021</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;infopath_newbee:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Column3[Column2 = .]&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This is a funny guessing game... I cannot even find how to reproduce this expression (with dot)&lt;br /&gt;Could you attach your template?&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Value not updating from the secondary data source.</title><link>https://www.infopathdev.com:443/forums/thread/83016.aspx</link><pubDate>Tue, 25 Sep 2012 22:26:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83016</guid><dc:creator>infopath_newbee</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83016.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83016</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi 
									            
									        &lt;a href="http://www.infopathdev.com/members/ErnestoM.aspx"&gt;Ernest&lt;/a&gt;, &lt;/p&gt;&lt;p&gt;Thanks for your reply. I tired to do the same in my form, but when I try to select the field , it puts a &amp;quot;.&amp;quot; instead of&amp;nbsp;&amp;nbsp; the field name . &lt;/p&gt;&lt;p&gt;So its becoming like&amp;nbsp;&lt;/p&gt;&lt;p&gt;Column3[Column2 = .]&lt;/p&gt;&lt;p&gt;rather than&amp;nbsp;&lt;/p&gt;&lt;p&gt;Column3[Column2 = field1]&lt;/p&gt;&lt;p&gt;even on your sample form , the value changes like shown above and your form stops functioning. So How do I put the filed name rather than the &amp;quot;.&amp;quot; . My info path is 2007 .&amp;nbsp; Any suggestions ?&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Value not updating from the secondary data source.</title><link>https://www.infopathdev.com:443/forums/thread/82988.aspx</link><pubDate>Tue, 25 Sep 2012 13:00:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82988</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82988.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=82988</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;You just need a rule and the correct filter. Here&amp;#39;s a sample. Hope it helps&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Value not updating from the secondary data source.</title><link>https://www.infopathdev.com:443/forums/thread/82974.aspx</link><pubDate>Tue, 25 Sep 2012 00:41:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82974</guid><dc:creator>infopath_newbee</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82974.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=82974</wfw:commentRss><description>&lt;p&gt;hi,&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have created a drop down list.&amp;nbsp; I have created a secondary data source based on the XML file. The file has supplier name (Column1), supplier number(Column2) and address ID (Column3). The drop down lists display value is &amp;quot;Column1&amp;quot; of the XML file. The value for the drop down list is &amp;quot;Column2&amp;quot; of the XML file. I have a text filed(AddressID) , which I want to populate with the corresponding &amp;quot;Column3&amp;quot; value from the XML file. Now the drop down works fine. in the drop down&amp;#39;s rule I have defined a new rule . The &amp;quot;Action&amp;quot; is defined as &amp;quot;set a field&amp;#39; value&amp;quot; , in the field, I selected the &amp;quot;AddressID&amp;quot; and&amp;nbsp; in the value, I have selected the &amp;quot;Column3&lt;br /&gt;&amp;nbsp;from the secondary data source ( which is the XML file) . Now when I preview the form, and I change the Supplier&amp;nbsp; drop down list, the &amp;quot;AddressId&amp;quot; value is getting set to the first record&amp;#39;s column3 value which is &amp;quot;40715&amp;quot;. No matter which supplier I choose from the drop down , the &amp;quot;AddressID&amp;quot; does not change. Any suggestions ?&lt;/p&gt;&lt;p&gt;Thanks&amp;nbsp; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;here is a portion of XML file ( secondary data source)&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;Row&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Column1&amp;gt;5 Prime 3 Prime&amp;lt;/Column1&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Column2&amp;gt;25715-0&amp;lt;/Column2&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Column3&amp;gt;40715&amp;lt;/Column3&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;lt;/Row&amp;gt; &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;Row&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;Column1&amp;gt;A-1 Textiles &amp;amp;amp; Hospitality Prod&amp;lt;/Column1&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;Column2&amp;gt;25961-0&amp;lt;/Column2&amp;gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;Column3&amp;gt;40961&amp;lt;/Column3&amp;gt;&lt;br /&gt;&amp;lt;/Row&amp;gt;&lt;/p&gt;</description></item></channel></rss>