<?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: Existing form....need to add a lookup on a field</title><link>https://www.infopathdev.com:443/forums/thread/24357.aspx</link><pubDate>Mon, 12 Nov 2007 16:42:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24357</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24357.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24357</wfw:commentRss><description>&lt;p&gt;Yah your predicament is not uncommon.&lt;/p&gt;
&lt;p&gt;To use the default database functionality in InfoPath, to query and submit you have to design the form from scratch around the data connection. There still are limitations , such as only one table structure can be used, that may or may not be a problem down the road.&lt;/p&gt;
&lt;p&gt;So one option is to start from the beginning and configure this and then replicate your existing form in this new form.&lt;/p&gt;
&lt;p&gt;I had recommended the Database Accelerator before since with Web Services you are not bound by the default database rules and have the freedom to have multiple queries and submits along with some other advantages.&amp;nbsp; It is additional middleware, but the tools provided, make developing enterprise solutions much faster and easier.&lt;/p&gt;
&lt;p&gt;With DBXL you could convert your existing form over pretty easy.&lt;/p&gt;
&lt;p&gt;You can create your own webservices or write code to possibly do some things. You may want to pay for some support help to get you past this hurdle and gain some knowledge.&lt;/p&gt;
&lt;p&gt;It is extra hard when you inherit a form rather than architecting it from the beginning.&lt;/p&gt;</description></item><item><title>Re: Existing form....need to add a lookup on a field</title><link>https://www.infopathdev.com:443/forums/thread/24354.aspx</link><pubDate>Mon, 12 Nov 2007 16:03:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24354</guid><dc:creator>Ed Rodman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24354.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24354</wfw:commentRss><description>&lt;p&gt;To All...&lt;/p&gt;
&lt;p&gt;Hopefully you can clear up some confusion regarding designing a new Infopath form with a database connection. &lt;/p&gt;
&lt;p&gt;It seems if you don&amp;#39;t include all your data fields in the beginning, you are out of luck if you need to add something at a later time. (IE secondary data connections). In my case, someone built the form (with no data connection), They gave me the form to build the look ups for accounts etc... It looks like I can&amp;#39;t do this in a secondary connection. Do I need like 1 connection containing all of my data lookups set up before the form is built so I wont have to add something later. I thought it would be more straight forward to do this...Now it seems I have to write code (what language), buy a third party product....just to do lookups.....I cant find examples of this in any book. &lt;/p&gt;</description></item><item><title>Re: Existing form....need to add a lookup on a field</title><link>https://www.infopathdev.com:443/forums/thread/24344.aspx</link><pubDate>Mon, 12 Nov 2007 15:08:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24344</guid><dc:creator>Ed Rodman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24344.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24344</wfw:commentRss><description>&lt;p&gt;Hi Patrick,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m pretty new to Infopath...how do you copy the data into the main data source? And if I had to write code, what language? I am pulling my secondary data from an Access query.&lt;/p&gt;
&lt;p&gt;Where can I find examples of the type of code I would need to write..&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks Ed&lt;/p&gt;</description></item><item><title>Re: Existing form....need to add a lookup on a field</title><link>https://www.infopathdev.com:443/forums/thread/24317.aspx</link><pubDate>Sat, 10 Nov 2007 06:55:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24317</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24317.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24317</wfw:commentRss><description>&lt;p&gt;Hi Ed,&lt;/p&gt;
&lt;p&gt;Well, you could copy the data into the main data source, or just write some code to filter it. The default filtering may not support 2DS (secondary data sources), but that shouldn&amp;#39;t be a &amp;quot;dead in the water&amp;quot; event. Are you pulling your 2DS from a database? If it&amp;#39;s SQL, why not just install our Database Accelerator and get the filtering for free? If it&amp;#39;s Access, I suppose you will have to write some code. If you would like, we can do this for you. Let me know.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Best of luck!&lt;/p&gt;</description></item><item><title>Re: Existing form....need to add a lookup on a field</title><link>https://www.infopathdev.com:443/forums/thread/24316.aspx</link><pubDate>Sat, 10 Nov 2007 00:48:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24316</guid><dc:creator>Ed Rodman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24316.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24316</wfw:commentRss><description>&lt;p&gt;Clay,&lt;/p&gt;
&lt;p&gt;One thing I neglected to mention is the underlying query is&amp;nbsp;a secondary data source. I noticed in the&amp;nbsp;help&amp;nbsp;system on the filter that&amp;nbsp; it says ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note&lt;/b&gt;&amp;nbsp;&amp;nbsp;You can only filter data from a primary data source. Because you cannot filter data from a secondary data source, the &lt;b class="ui"&gt;Display&lt;/b&gt; tab for a control connected to a secondary data source does not include any filter options.&lt;/p&gt;
&lt;p&gt;Am I dead in the water or is there another way to accomplish this, thanks for all your help&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Existing form....need to add a lookup on a field</title><link>https://www.infopathdev.com:443/forums/thread/24314.aspx</link><pubDate>Fri, 09 Nov 2007 22:20:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24314</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24314.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24314</wfw:commentRss><description>&lt;p&gt;Typically in the learning / testing phase I would either make a new form and replicate this or create another view in your copy of the original to do some testing.&lt;/p&gt;
&lt;p&gt;First I would drag your secondary data connection onto the view so you can verify exactly what is being loaded.&lt;/p&gt;
&lt;p&gt;The data connection should have the defualt to load automatically so you should not need to query it again. Unless it changes while the form is open it should just load witht he form, that way you do not have to query it specifically later. But you should verify it is working and it has data to compare against.&lt;/p&gt;
&lt;p&gt;Then you should be able to validate your logic, which look correct to me.&amp;nbsp; One thing to be careful of is whether there are any extra spaces or anything in your data. The matching is simplistic and sometimes depending on the data it may look like a number but have leading or trailing space that need to be handled witht he normalize function or added to your source.&amp;nbsp; SO verify you are getting a data match hwen you should be.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Existing form....need to add a lookup on a field</title><link>https://www.infopathdev.com:443/forums/thread/24313.aspx</link><pubDate>Fri, 09 Nov 2007 20:52:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24313</guid><dc:creator>Ed Rodman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24313.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24313</wfw:commentRss><description>&lt;p&gt;Hi Clay...&lt;/p&gt;
&lt;p&gt;Thanks for your help. I am trying your suggestion regarding the rule. However its not returning the value.&lt;/p&gt;
&lt;p&gt;I enter the account number in the account number field but nothing populates in the name field after I press enter, DO I NEED A QUERY BUTTON.&lt;/p&gt;
&lt;p&gt;I set up the rule exactly as you wrote previously.....&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I put the rule on the account number field. I set the name field from the view (txtAccountNum) with the name from the data connection (ACCOUNT_NME)&lt;/p&gt;
&lt;p&gt;For the filter, I set the account number from the form (txtAccountNum) = to the account number of the data connection (ACCOUNT_ID). &lt;/p&gt;
&lt;p&gt;It all seems to make sense, but its like its not running. Do I need to set any thing else where. Thanks &lt;/p&gt;</description></item><item><title>Re: Existing form....need to add a lookup on a field</title><link>https://www.infopathdev.com:443/forums/thread/24278.aspx</link><pubDate>Fri, 09 Nov 2007 15:42:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24278</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24278.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24278</wfw:commentRss><description>&lt;p&gt;Here is an example on how to set up a filter.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.infopathdev.com/search/SearchResults.aspx?q=populate&amp;amp;g=6"&gt;&lt;font color="#000000"&gt;http://www.infopathdev.com/search/SearchResults.aspx?q=populate&amp;amp;g=6&lt;/font&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Existing form....need to add a lookup on a field</title><link>https://www.infopathdev.com:443/forums/thread/24272.aspx</link><pubDate>Fri, 09 Nov 2007 14:07:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24272</guid><dc:creator>Ed Rodman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24272.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24272</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Thanks for your response. Is there an example of this in a book or somewhere. Can you recommend a book that has examples. &lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;</description></item><item><title>Re: Existing form....need to add a lookup on a field</title><link>https://www.infopathdev.com:443/forums/thread/24262.aspx</link><pubDate>Fri, 09 Nov 2007 01:49:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24262</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24262.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24262</wfw:commentRss><description>&lt;p&gt;Hi Ed. &lt;/p&gt;
&lt;p&gt;If you have the data connection set up. I would put a rule on the field where they enter the account number. The rule would set the name field in the view&amp;nbsp;witht the name&amp;nbsp;from the data connection.&amp;nbsp;For the value you would select the name field from the DC but then add the filter, which is in the lower left when you select the field.&amp;nbsp; The filter woul be account number in the form = account number in the secondary DC.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Should be an easy add for your form.&lt;/p&gt;
&lt;p&gt;Let me know if you need anything else.&lt;/p&gt;</description></item><item><title>Existing form....need to add a lookup on a field</title><link>https://www.infopathdev.com:443/forums/thread/24252.aspx</link><pubDate>Thu, 08 Nov 2007 17:24:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24252</guid><dc:creator>Ed Rodman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24252.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24252</wfw:commentRss><description>&lt;p&gt;I have an existing form where the users enter the account number and name into two text boxes. They want to enter the account name in a text box&lt;/p&gt;
&lt;p&gt;and have Infopath lookup the account name. I have the query built (in access) that returns this info,&amp;nbsp; but how would I implement this in the existing form.&lt;/p&gt;
&lt;p&gt;What would I have to change. I know I would add a data connection to the access database that houses the account name query.....&lt;/p&gt;
&lt;p&gt;Any help would be great. Thanks&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>