<?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: Cascading Dropdown non repeating lists populating text boxes</title><link>https://www.infopathdev.com:443/forums/thread/65764.aspx</link><pubDate>Wed, 06 Apr 2011 11:10:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65764</guid><dc:creator>jefjar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65764.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=65764</wfw:commentRss><description>&lt;p&gt;From looking at your site this seems to be something that can be done.&amp;nbsp; So I&amp;#39;m going to try to repost it in the General Section.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Cascading Dropdown non repeating lists populating text boxes</title><link>https://www.infopathdev.com:443/forums/thread/65728.aspx</link><pubDate>Mon, 04 Apr 2011 20:11:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:65728</guid><dc:creator>jefjar</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/65728.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=65728</wfw:commentRss><description>&lt;p&gt;I have posted twice already about these items seperately and have gotten them to work with limited success and am looking for some additional help because many of the solutions I have tried haven&amp;#39;t worked.&amp;nbsp; I have an IP 2003&amp;nbsp;form that is pulling data from an SQL database.&amp;nbsp; The data structure shows the US_Customer_List_vw with the Customer Contacts and Customer Equip VW&amp;#39;s as tables, as shown here:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;My Fields&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Query Fields (group)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Data Fields (group)&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;US_Customer_List_vw (group)&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Customer Name (Field)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Account Number (Field)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Address (Field)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;City (Field)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;US_Customer_ContactList_vw (group)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;First Name (Field)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Last Name(Field)&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Phone Number&amp;nbsp;(Field)&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;US_Customer_Equipment_vw (group)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;Serial Number (Field)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;Customer (Field)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;Account (Field)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;EQ Name (Field)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;EQ Type (Field)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;My:Equipment_Summary&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;Serial Number (Field)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;Customer (Field)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;Account (Field)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;EQ Name (Field)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;
&lt;div&gt;EQ Type (Field)&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/ul&gt;
&lt;p&gt;I&amp;#39;ve built a query based on Account number that pulls back Customer information, Customer Contacts and Equipment list.&amp;nbsp; What I have been successfully able to do is build a drop down list in a repeating section where as you select an entry it is no longer available to select in subsequent repeating sections.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Under the DDLB properties I:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Selected look up values in the forms data source&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;In Entries I selected my Serial number field from my data source&amp;nbsp;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Filtered my data so that it would not show duplicates&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&amp;nbsp;/dfs:myFields/dfs:dataFields/d:SP_US_CUSTOMER_LIST_VW/d:SP_CUSTOMER_EQUIP_VW/@SERIALNO[not(. = ../../../../my:Equipment_Summary/my:SerialNumber)]&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Tested it out and my data reports just fine.&lt;/p&gt;
&lt;p&gt;The second part is populating the Text Box based on my Serial number selection.&amp;nbsp; I&amp;#39;ve written a rule under the serial number DDL properties where I have:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Selected set a fields value&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Selected the field that I want populated Equipment Type in My: Equipment_Summary repeating section group&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;For the Value I set the formula to&amp;nbsp; EQ_Type[. = @SERIALNO]&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Tested it out and it did not work for the first repeating section.&amp;nbsp; I&amp;#39;ve tried various other rules with again limited success.&amp;nbsp; What I want is when a Serial Number is selected that the Equipment Type is populated.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I&amp;#39;ve read several strings about a secondary data source which I currently don&amp;#39;t have set up I am just pulling the information from my data connection.&amp;nbsp; Do I need a secondary data source?&amp;nbsp; Will that affect my query results or the performance of the data query?&amp;nbsp; I think the syntax on my formula may be wrong but several&amp;nbsp;of the options I have tried haven&amp;#39;t worked either, how should the syntax work?&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Sorry for the long drawn out question here. &amp;nbsp; &lt;/p&gt;</description></item></channel></rss>