<?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: Update one List Box based on another</title><link>https://www.infopathdev.com:443/forums/thread/47627.aspx</link><pubDate>Tue, 06 Oct 2009 17:13:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47627</guid><dc:creator>bcmps</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47627.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47627</wfw:commentRss><description>&lt;p&gt;I was not finding a way to use the where with the rules, but now it worked.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Update one List Box based on another</title><link>https://www.infopathdev.com:443/forums/thread/47566.aspx</link><pubDate>Sat, 03 Oct 2009 03:06:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47566</guid><dc:creator>Qazi Anis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47566.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47566</wfw:commentRss><description>&lt;p&gt;well you will have to use filters to update these correctly. &lt;/p&gt;
&lt;p&gt;suppose you have &lt;/p&gt;
&lt;p&gt;field1 contains data from connection 1(code, name)&lt;/p&gt;
&lt;p&gt;field2 contains data from connection 2(code, title)&lt;/p&gt;
&lt;p&gt;you will have to write rules on both these fields to update the other field&lt;/p&gt;
&lt;p&gt;1) on field1&lt;/p&gt;
&lt;p&gt;field2 = connection2.title where connection2.code = (select connection1.code where connection1.name = field1.value)&lt;/p&gt;
&lt;p&gt;2) on field2&lt;/p&gt;
&lt;p&gt;field1 = connection1.title where connection1.code = (select connection2.code where connection2.name = field2.value)&lt;/p&gt;
&lt;p&gt;NOTE: this is only concept you will have to translate it into actual syntax&lt;/p&gt;</description></item><item><title>Update one List Box based on another</title><link>https://www.infopathdev.com:443/forums/thread/47554.aspx</link><pubDate>Fri, 02 Oct 2009 18:42:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:47554</guid><dc:creator>bcmps</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/47554.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=47554</wfw:commentRss><description>&lt;p&gt;Hi, &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I have created two data connections for two SharePoint Lists using InfoPath 2003. I assigned each data connection to a List Box and I would like to update the value of one based on another. The first list has the columns Code and Name. The second has the columns Code and Title. &lt;br /&gt;The first List Box was set up to receive the group with Code and Name as Entries and Name as Value and Display Name.&lt;br /&gt;The second list box was set up to receive the group with Code and Title as Entries and Title as Value and Display Name. This Entry was set up to filter using List1 Code = List2 Code.&lt;br /&gt;Doing this, only the first List Box received data. &lt;br /&gt;What I should do to update these controls correctly?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;&lt;br /&gt;Bruno&lt;/p&gt;</description></item></channel></rss>