<?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: Still having an issue with the lookups....</title><link>https://www.infopathdev.com:443/forums/thread/24451.aspx</link><pubDate>Wed, 14 Nov 2007 21:39:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24451</guid><dc:creator>Ed Rodman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24451.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24451</wfw:commentRss><description>&lt;p&gt;CLAY...&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I GOT IT TO WORK. I WANT TO DOCUMENT WHAT I HAVE DONE AND THEN I WILL LET YOU KNOW.&lt;/p&gt;
&lt;p&gt;THANKS FOR YOUR PATIENCE AND HELP.&lt;/p&gt;
&lt;p&gt;ED&lt;/p&gt;</description></item><item><title>Re: Still having an issue with the lookups....</title><link>https://www.infopathdev.com:443/forums/thread/24450.aspx</link><pubDate>Wed, 14 Nov 2007 21:33:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24450</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24450.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24450</wfw:commentRss><description>&lt;p&gt;Is your drop down bound to a repeating field? I thought your field was in the Main DOM and that you were using&amp;nbsp;the dc&amp;nbsp;for the values.&amp;nbsp; For that you would not need the current().&lt;/p&gt;
&lt;p&gt;Have you tried this with a field in your main data source?&amp;nbsp;If you use the standard UI you would not get the current in the filter.&lt;/p&gt;
&lt;p&gt;Typically you would use a field in your form and then use it as the filter value for either list.&lt;/p&gt;</description></item><item><title>Re: Still having an issue with the lookups....</title><link>https://www.infopathdev.com:443/forums/thread/24449.aspx</link><pubDate>Wed, 14 Nov 2007 20:57:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24449</guid><dc:creator>Ed Rodman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24449.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24449</wfw:commentRss><description>&lt;p&gt;Clay,&lt;/p&gt;
&lt;p&gt;What you described I actually got to work, but its not what I am really looking for. I have two fields&amp;nbsp;RELM ID: and RELM NAME (Account&amp;nbsp;ID and Account Name),&amp;nbsp;&amp;nbsp;&amp;nbsp;I want to select the RELM ID value from the drop down listbox (which works) and have the RELM NAME pop into the RELM NAME test box. I&amp;#39;m getting the value of the first item in the secondary data connection for the RELM NAME. Its sitting on the first record. I&amp;#39;ve enclosed the XPath code from the Rule and action.&amp;nbsp; I think its close.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;xdXDocument:GetDOM(&amp;quot;RELM_LOOKUP 2&amp;quot;)/dfs:myFields/dfs:dataFields/d:RELM_LOOKUP/@RELM_NME[../@RELM_ID = current()/my:sec_RELM/my:txt_RelmNumber]&lt;/p&gt;</description></item><item><title>Re: Still having an issue with the lookups....</title><link>https://www.infopathdev.com:443/forums/thread/24445.aspx</link><pubDate>Wed, 14 Nov 2007 17:43:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24445</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24445.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24445</wfw:commentRss><description>&lt;p&gt;Hi Ed.&lt;/p&gt;
&lt;p&gt;So your drop down is working properly? You can use the Value and Display name at the bottom of the properties to set it to display one field while containing another.&lt;/p&gt;
&lt;p&gt;Are you using a filter on your set field value action? For Field: you would&amp;nbsp;lookup the field in your view which should contain the name. For Value: you would click on the function button (FX)&lt;/p&gt;
&lt;p&gt;Then Insert Field or Group&lt;/p&gt;
&lt;p&gt;Then use the drop down at the top to select your secondary data source&lt;/p&gt;
&lt;p&gt;Select&amp;nbsp;the account name field and then select filter in the lower left of the window.&lt;/p&gt;
&lt;p&gt;Add a filter&lt;/p&gt;
&lt;p&gt;Accountnum = your drop down field in your view&lt;/p&gt;
&lt;p&gt;Ok everything&lt;/p&gt;
&lt;p&gt;This will return the account name which the account number = what was selected.&lt;/p&gt;
&lt;p&gt;Hope that helps&lt;/p&gt;</description></item><item><title>Still having an issue with the lookups....</title><link>https://www.infopathdev.com:443/forums/thread/24440.aspx</link><pubDate>Wed, 14 Nov 2007 16:10:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24440</guid><dc:creator>Ed Rodman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24440.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24440</wfw:commentRss><description>&lt;p&gt;I tried using a dropdown listbox and set its data connection properties to the secondary data source (which is a 2 field query). Now, I get all the account numbers in the drop down and I want the account name to populate in the account name text box. I tried a rule but I get the first value of the account name field of the query...So, I know it&amp;#39;s kind of working....but not pointing to the right record. So, again, the drop down listbox is populating correctly with the query account id values, but when I select one, its populating the account name with the value of the first record of the query.....&lt;/p&gt;
&lt;p&gt;Any ideas as to what I am doing wrong? Thanks &lt;/p&gt;</description></item></channel></rss>