<?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: Retreiving data from DB</title><link>https://www.infopathdev.com:443/forums/thread/2725.aspx</link><pubDate>Tue, 11 Jul 2006 16:06:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2725</guid><dc:creator>Carolyn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2725.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2725</wfw:commentRss><description>I'm glad it's working for you. It took me a while to get used to it, too.</description></item><item><title>Re: Retreiving data from DB</title><link>https://www.infopathdev.com:443/forums/thread/2724.aspx</link><pubDate>Tue, 11 Jul 2006 15:43:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2724</guid><dc:creator>cgreeff</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2724.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2724</wfw:commentRss><description>Hi Carolyn&lt;br /&gt;&lt;br /&gt;Thanks! Got it working...&lt;br /&gt;&lt;br /&gt;Should've just used my logic in dragging in from the Query side and not the Data side.&lt;br /&gt;&lt;br /&gt;Thanks for the help. :-)&lt;br /&gt;&lt;br /&gt;Enjoy the rest of your day.</description></item><item><title>Re: Retreiving data from DB</title><link>https://www.infopathdev.com:443/forums/thread/2723.aspx</link><pubDate>Tue, 11 Jul 2006 13:33:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2723</guid><dc:creator>Carolyn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2723.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2723</wfw:commentRss><description>Have a look at the Data Source pane. You'll notice your Access db has two sets of fields: "q" and "d". That's Query and Data. You want to pull the Query Client ID into the form, then query off that. The data will then pop in.&lt;br /&gt;&lt;br /&gt;I'll tell you how I like to do it. I like to make the query field a drop-down so the user can choose from a pre-determined list. In the Access mdb I create a query that returns just (as you said) Client ID. Then, I make that a secondary data connection in the InfoPath form. &lt;br /&gt;&lt;br /&gt;I would drag over the Client ID query field, and change it from a text box to a drop-down list, then assign that dropdown list to have the secondary data connection as the data source.&lt;br /&gt;&lt;br /&gt;Next, drag over the "Data" detail records into a table or section. Finally, set it so that when the data changes in the dropdown control, the db is queried. Do that with a rule. Alternatively, you could make a "Go" button whose rule is to query the db.&lt;br /&gt;&lt;br /&gt;Now, the user opens the drop-down, finds the proper Client ID, that control changes, and the db is queried.&lt;br /&gt;&lt;br /&gt;If you have a lot of Client IDs, then a dropdown would not be appropriate. In that case, the user would just type it in, but you still have the principle that if that control (a text box) changes, then the db is queried.</description></item><item><title>Re: Retreiving data from DB</title><link>https://www.infopathdev.com:443/forums/thread/2722.aspx</link><pubDate>Tue, 11 Jul 2006 09:43:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2722</guid><dc:creator>cgreeff</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2722.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2722</wfw:commentRss><description>Hi Carolyn&lt;br /&gt;&lt;br /&gt;Thanks for the swift reply.&lt;br /&gt;&lt;br /&gt;I understand what you mean, however I cannot get it working.&lt;br /&gt;&lt;br /&gt;I have a "repeating section with controls"&lt;br /&gt;ClientID&lt;br /&gt;ClientName&lt;br /&gt;ClientCode&lt;br /&gt;TaskCode&lt;br /&gt;ClientFax&lt;br /&gt;ClientTel&lt;br /&gt;etc etc etc&lt;br /&gt;&lt;br /&gt;When I preview the form data from the db is displayed auto. That's great....but now, after I applied a rule on the "Client Name" putting the action to "query the database" nothing happens when I put it another / Change the ClientName field?&lt;br /&gt;&lt;br /&gt;Am I missing a condition or should I put a rule on each field?</description></item><item><title>Re: Retreiving data from DB</title><link>https://www.infopathdev.com:443/forums/thread/2721.aspx</link><pubDate>Mon, 10 Jul 2006 17:27:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2721</guid><dc:creator>Carolyn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2721.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2721</wfw:commentRss><description>&lt;blockquote id="quote"&gt;&lt;font size="1" face="Verdana, Arial, Helvetica" id="quote"&gt;quote:&lt;hr height="1" noshade id="quote"&gt;I got a field called ClientID and when I change this I want the rest of fields to change according to that client's information. So thus when my data is retreived from the db a user should be able to select all the relevant ClientID or ClientName from a drop-down list and then when selecting a client from that list all the other info should be displayed as well...How do I go about doing this?&lt;br /&gt;&lt;hr height="1" noshade id="quote"&gt;&lt;/font id="quote"&gt;&lt;/blockquote id="quote"&gt;Make a rule on the field holding ClientID that when the value of that field changes, query the db.</description></item><item><title>Retreiving data from DB</title><link>https://www.infopathdev.com:443/forums/thread/1406.aspx</link><pubDate>Mon, 10 Jul 2006 13:20:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1406</guid><dc:creator>cgreeff</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1406.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1406</wfw:commentRss><description>Hi guys&lt;br /&gt;&lt;br /&gt;Hope all is well. :-)&lt;br /&gt;&lt;br /&gt;The question I have might have been answered in some other forum, though I haven't seen anything that has. (I might not have looked properly)&lt;br /&gt;&lt;br /&gt;I'm relatively new to Infopath...&lt;br /&gt;&lt;br /&gt;Here's what I'm doing and have gotten right...&lt;br /&gt;&lt;br /&gt;I've got a form adding records into a database and that's all working well, etc (Access db) - did that with a ODBC called CONsubmit&lt;br /&gt;&lt;br /&gt;I then created a ODBC called CONretreive to obviously retreive records from my db and post them into a form. This is also all working fine....but....now....the question I have is....&lt;br /&gt;&lt;br /&gt;I got a field called ClientID and when I change this I want the rest of fields to change according to that client's information. So thus when my data is retreived from the db a user should be able to select all the relevant ClientID or ClientName from a drop-down list and then when selecting a client from that list all the other info should be displayed as well...How do I go about doing this?&lt;br /&gt;&lt;br /&gt;Any help would be appreciated or blogg I can go read...&lt;br /&gt;&lt;br /&gt;Thanks!!</description></item></channel></rss>