<?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: Autopopulate a text box from another by matching fields in a secondary data source?</title><link>https://www.infopathdev.com:443/forums/thread/21793.aspx</link><pubDate>Thu, 19 Jul 2007 08:26:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21793</guid><dc:creator>jorobertson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21793.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=21793</wfw:commentRss><description>&lt;p&gt;Thanks for your help Clay. Actually my users are putting in the cost centre number and need the description to pop up (so round the other way) but I&amp;#39;ve got the autopopulate part working.&lt;/p&gt;&lt;p&gt;The thing i&amp;#39;m stuck on now is the error message. I&amp;#39;ve added a rule on the cost centre text box saying if cost centre (entered into form) does not = cost centre (data connection) to pop up an error message. However, the error message pops up every time, even when I know the cost centres are valid (because they&amp;#39;re bringing up the right description in the other box. Can anyone advise what I&amp;#39;m doing wrong??&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Jo&lt;/p&gt;</description></item><item><title>Re: Autopopulate a text box from another by matching fields in a secondary data source?</title><link>https://www.infopathdev.com:443/forums/thread/21784.aspx</link><pubDate>Wed, 18 Jul 2007 18:19:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21784</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21784.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=21784</wfw:commentRss><description>&lt;p&gt;yes this is doable.&lt;/p&gt;&lt;p&gt;You would have a text box for the cost center description entry.&lt;/p&gt;&lt;p&gt;You would have a second field for the cost center number.&amp;nbsp; It would default to your secondary data connection cost center field with a filter of description = cost center description (what the user entered).&amp;nbsp; This should check to update automatically by default.&amp;nbsp; Then create a rule on the cost center number field which says if Cost center number is blank or does not = cost center in the data connection then pop a message or you can block submit if it is not valid.&lt;/p&gt;&lt;p&gt;You can also use a conatins or begins with for your comparison of the description so that users do not have to type the whole thing.&lt;/p&gt;&lt;p&gt;Another option would be cascading drop downs.&lt;/p&gt;&lt;p&gt;User selects finance and then second dropdown has all of the sub locations for finance.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Autopopulate a text box from another by matching fields in a secondary data source?</title><link>https://www.infopathdev.com:443/forums/thread/21774.aspx</link><pubDate>Wed, 18 Jul 2007 15:36:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21774</guid><dc:creator>jorobertson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21774.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=21774</wfw:commentRss><description>&lt;p&gt;Hi there,&lt;/p&gt;&lt;p&gt;Sorry about the less-than-clear subject line, but I&amp;#39;m not sure how to describe this in a few words!&lt;/p&gt;&lt;p&gt;My problem is I currently have a drop-down list (linked to an Access database) with several hundred options in it and users are complaining about the time it takes scrolling down the whole list. The secondary data source (the access db) simply consists of 2 fields in each record; the first a cost centre (e.g. 12345) and the second, a descriptor (e.g. &amp;quot;Finance Cost Centre&amp;quot;).&lt;/p&gt;&lt;p&gt;So my questions are these:&lt;/p&gt;&lt;p&gt;- Is it possible to have a text box where users type their cost centre (e.g. 12345) and have it match this to the database and autopopulate another text box with the description e.g. Finance Cost Centre?? I can do this using cascading drop-down lists but want to avoid these for the reasons stated above. I suppose I need cascading text boxes.&lt;/p&gt;&lt;p&gt;- Also, if the above is possible, is there any way to validate the cost centre entered so that an incorrect entry, when it doesn&amp;#39;t match the underlying database, would output an error message?&lt;/p&gt;&lt;p&gt;I should add I&amp;#39;m using Infopath 2003 SP2.&lt;/p&gt;&lt;p&gt;Sorry if this is obvious but I&amp;#39;m new to all this! Many thanks in advance of any help you might be able to offer.&lt;/p&gt;&lt;p&gt;Jo&lt;/p&gt;</description></item></channel></rss>