<?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: Reading and Writing to a SQL Database or Access Database</title><link>https://www.infopathdev.com:443/forums/thread/70121.aspx</link><pubDate>Thu, 08 Sep 2011 11:14:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70121</guid><dc:creator>Christiaan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70121.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70121</wfw:commentRss><description>&lt;p&gt;Thanks James, Ernesto and Hilary for the awesome service I received from your company. &lt;/p&gt;
&lt;p&gt;James was helpful and friendly&amp;nbsp;and patient with me, and very experienced. &lt;/p&gt;</description></item><item><title>Re: Reading and Writing to a SQL Database or Access Database</title><link>https://www.infopathdev.com:443/forums/thread/70081.aspx</link><pubDate>Wed, 07 Sep 2011 07:09:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70081</guid><dc:creator>Christiaan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70081.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70081</wfw:commentRss><description>&lt;p&gt;Thanks Ernesto&lt;/p&gt;
&lt;p&gt;I bought a support pack. My code from the site is: &lt;span id="ctl00_ctl00_cph1_cph1_ctrlCheckoutCompleted_lblOrderNumber"&gt;[Edit - removed].&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My Skype name is: [Edit - removed]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I look forward to hearing from someone in your company. Don&amp;#39;t phone me, it will be too expensive. Just add me on Skype.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Christiaan&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Reading and Writing to a SQL Database or Access Database</title><link>https://www.infopathdev.com:443/forums/thread/70053.aspx</link><pubDate>Tue, 06 Sep 2011 16:40:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70053</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70053.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70053</wfw:commentRss><description>&lt;p&gt;Hi Christian,&lt;/p&gt;&lt;p&gt;We do offer InfoPath Support Help via Skype and/or Livemeeting. Go to Qdabra.com and click on the Support link on the home page. Buy &lt;a href="http://www.qdabra.com/webstore/category/4-support-consultation.aspx"&gt;one support pack&lt;/a&gt; and we&amp;#39;ll contact you.&lt;/p&gt;&lt;p&gt;Thanks for your interest! &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Reading and Writing to a SQL Database or Access Database</title><link>https://www.infopathdev.com:443/forums/thread/70049.aspx</link><pubDate>Tue, 06 Sep 2011 15:27:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70049</guid><dc:creator>Christiaan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70049.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70049</wfw:commentRss><description>&lt;p&gt;Hi Hilary&lt;/p&gt;
&lt;p&gt;The prompt I clicked yes to is as in point no 3 a few posts back.&lt;/p&gt;
&lt;p&gt;The error I got from the group, is attached.&lt;/p&gt;
&lt;p&gt;I put the submit button on my form, and though it says that the form was submitted, the new records do not show in my SQL database in the LU_EMPLOYEE table. So I am pretty disgruntled with InfoPath at the moment.&lt;/p&gt;
&lt;p&gt;I spent the day trying to get hold of an InfoPath consultant or trainer in South Africa, and even drove to Microsoft&amp;#39;s offices, without any success.&lt;/p&gt;
&lt;p&gt;You do not maybe have an office or somene who knows InfoPath in South Africa? Or can your company offer some Skype help with my issue? I need&amp;nbsp;about 30&amp;nbsp;minutes of someone&amp;#39;s time to just set up the reading and writing to SQL. &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Reading and Writing to a SQL Database or Access Database</title><link>https://www.infopathdev.com:443/forums/thread/70045.aspx</link><pubDate>Tue, 06 Sep 2011 14:32:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70045</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70045.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70045</wfw:commentRss><description>&lt;p&gt;My concern with this:&lt;/p&gt;
&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Christiaan:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;I did get an error when I tried to drag the combo box onto my form using the /dfs:myFields/dfs:dataFields/d:LU_EMPLOYEE group, but when I used the -/d:LU_EMPLOYEE/EMPLOYEE_NAME and -_SURNAME respectively,&amp;nbsp;and clicked on &amp;quot;Yes&amp;quot; at the prompt, it seemed to work.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;Is that the prompt you are getting means that if your users can query the data source and the query returns more than one result, the controls are only bound to the first instance of the repeating LU_Employee group. &lt;/p&gt;
&lt;p&gt;What is the error you get when you drag the group onto the form? Were you putting it in another section?&lt;/p&gt;</description></item><item><title>Re: Reading and Writing to a SQL Database or Access Database</title><link>https://www.infopathdev.com:443/forums/thread/70035.aspx</link><pubDate>Tue, 06 Sep 2011 08:05:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70035</guid><dc:creator>Christiaan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70035.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70035</wfw:commentRss><description>&lt;p&gt;Hi Hilary&lt;/p&gt;
&lt;p&gt;Thanks for your help. I could not have done it without you. I created the view like you suggested, and that seemed to be the determining factor.&lt;/p&gt;
&lt;p&gt;I did get an error when I tried to drag the combo box onto my form using the /dfs:myFields/dfs:dataFields/d:LU_EMPLOYEE group, but when I used the -/d:LU_EMPLOYEE/EMPLOYEE_NAME and -_SURNAME respectively,&amp;nbsp;and clicked on &amp;quot;Yes&amp;quot; at the prompt, it seemed to work.&lt;/p&gt;
&lt;p&gt;I owe you&amp;nbsp;a drink if you ever come to South Africa.&lt;/p&gt;
&lt;p&gt;Now on to getting the form to submit...&lt;/p&gt;</description></item><item><title>Re: Reading and Writing to a SQL Database or Access Database</title><link>https://www.infopathdev.com:443/forums/thread/70021.aspx</link><pubDate>Mon, 05 Sep 2011 16:08:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70021</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70021.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70021</wfw:commentRss><description>&lt;p&gt;Wow, so this is kind of fascinating.&lt;/p&gt;
&lt;p&gt;First as to item 3 - the data fields are always going to be in a repeating group. You&amp;#39;ll want to drag the /dfs:myFields/dfs:dataFields/d:LU_EMPLOYEE group from the Main data source onto your form. You can set the repeating group properties so that the user can&amp;#39;t insert more instances of the repeating group. This data structure is the IP structures a data base bound form, which is what you are creating. Since the table the form is bound to has more than one row in it, IP makes the data fields group repeating.&lt;/p&gt;
&lt;p&gt;However, what is really interesting is item 4. You have a second data connection to the very same table, and it seems that IP is very confused by that! &lt;/p&gt;
&lt;p&gt;Here is the XPath to your employee name field in your main data source: /dfs:myFields/dfs:dataFields/d:LU_EMPLOYEE/@EMPLOYEE_NAME&lt;/p&gt;
&lt;p&gt;Here is the XPath the your employee name field in your secondary data source: /dfs:myFields/dfs:dataFields/d:LU_EMPLOYEE/@EMPLOYEE_NAME&lt;/p&gt;
&lt;p&gt;Notice anything? They are the same.... So, my guess would be that InfoPath is having some kind of a fit trying to validate this. I think if what you really want to do is have your list of employees be from the same table where you are submitting, you may need to create a view (in SQL - not sure what the equivalent is in Access - a Query?) and then use that for your secondary data source. I&amp;#39;d give my view a distinctly different name from LU_EMPLOYEE, and I&amp;#39;d also alias my columns in the view (EMPLOYEE_NAME as EMPNAME or something). That way you can be sure that your XPath will be different.&lt;/p&gt;
&lt;p&gt;All that being said, it could be you are using the same table for both just as a simple test, and for your actual form you intend to use different tables. If that is the case, I&amp;#39;d suggest setting up your test to more accurately reflect your intended final architecture.&lt;/p&gt;</description></item><item><title>Re: Reading and Writing to a SQL Database or Access Database</title><link>https://www.infopathdev.com:443/forums/thread/70002.aspx</link><pubDate>Sat, 03 Sep 2011 06:24:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70002</guid><dc:creator>Christiaan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70002.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=70002</wfw:commentRss><description>&lt;p&gt;Hi Hilary &lt;/p&gt;
&lt;p&gt;Thank you so much for your swift reply.&lt;/p&gt;
&lt;p&gt;I looked at your link, but because you suggested I must attach my form, I just recreated my small database table in Access. I looked at this article:&lt;br /&gt;&lt;a title="Use values from an Access database to populate a list box, drop-down list box, or combo box" href="http://office.microsoft.com/en-us/infopath-help/use-values-from-an-access-database-to-populate-a-list-box-drop-down-list-box-or-combo-box-HP010096933.aspx?CTT=1" target="_blank"&gt;http://office.microsoft.com/en-us/infopath-help/use-values-from-an-access-database-to-populate-a-list-box-drop-down-list-box-or-combo-box-HP010096933.aspx?CTT=1&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sure my issue is more an InfoPath (I don&amp;#39;t know what I&amp;#39;m doing) one, than a database one.&lt;/p&gt;
&lt;p&gt;I use InfoPath 2007.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I created a new design template, selected database, and&amp;nbsp;followed the article, and set up a main submit connection.&lt;/li&gt;
&lt;li&gt;I set up a secondary data connection (as instructed in the article).&lt;/li&gt;
&lt;li&gt;When I drag and drop a combo box onto my form, I get the following error:&lt;br /&gt;&lt;strong&gt;You have chosen to bind a&amp;nbsp;non repeating control to a repeating field or group. This control will be bound to the first item in the repeating field or group. Do you want to continue?&lt;/strong&gt; I selected &lt;strong&gt;Yes&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;When I double click the combo box, unde the data tab, I select &lt;strong&gt;Look up values from an external data source&lt;/strong&gt;, I select Data source: &lt;strong&gt;employeeDataConnection&lt;/strong&gt; (created in step 2), and under Entries, I click to my &lt;strong&gt;EMPLOYEE_NAME&lt;/strong&gt; column in the &amp;quot;decision tree&amp;quot; under &lt;strong&gt;dataFields&lt;/strong&gt;, &lt;strong&gt;LU_EMPLOYEE&lt;/strong&gt;, and get the error &lt;strong&gt;You selected the field where the control saves data. Instead, select the field where the control looks up data&lt;/strong&gt;. But there is nothing else to select.&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;I have attached my Access database and my Test form.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Christiaan&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Reading and Writing to a SQL Database or Access Database</title><link>https://www.infopathdev.com:443/forums/thread/69999.aspx</link><pubDate>Fri, 02 Sep 2011 19:38:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69999</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69999.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69999</wfw:commentRss><description>&lt;p&gt;Hi - welcome to the forum. &lt;/p&gt;
&lt;p&gt;I think you are saying you&amp;#39;d like to use a table from your SQL database as a data source for your combo box.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a link to an Office Online article about this: &lt;a href="http://office.microsoft.com/en-us/infopath-help/use-values-from-a-sql-server-database-to-populate-a-list-box-drop-down-list-box-or-combo-box-HP010093650.aspx"&gt;http://office.microsoft.com/en-us/infopath-help/use-values-from-a-sql-server-database-to-populate-a-list-box-drop-down-list-box-or-combo-box-HP010093650.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Now, it refers to InfoPath 2007, but if you are using IP 2010, you add data connections from the Data tab in the ribbon - otherwise, it should be pretty much the same.&lt;/p&gt;
&lt;p&gt;However, you mention &amp;quot;my combo box appears empty&amp;quot; which would lead me to think you&amp;#39;ve already tried this and are having trouble? If that&amp;#39;s the case, if you can attach your form (or a sample form where you&amp;#39;ve tried to set this up) under the Options tab in a reply, I&amp;#39;d be happy to take a look at it, see if I can see what&amp;#39;s awry.&lt;/p&gt;
&lt;p&gt;I really think the InfoPath help and how page on Office Online is a good place to get started: &lt;a href="http://office.microsoft.com/en-us/infopath-help/CL010072926.aspx?CTT=97"&gt;http://office.microsoft.com/en-us/infopath-help/CL010072926.aspx?CTT=97&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That&amp;#39;s for Office 2007 - so again, if you are using 2010 you may have to do some hunting to find the right options, but it should help you get the fundamentals.&lt;/p&gt;</description></item><item><title>Reading and Writing to a SQL Database or Access Database</title><link>https://www.infopathdev.com:443/forums/thread/69981.aspx</link><pubDate>Fri, 02 Sep 2011 12:15:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69981</guid><dc:creator>Christiaan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69981.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=69981</wfw:commentRss><description>&lt;p&gt;Please help me.&lt;/p&gt;
&lt;p&gt;I have a database in SQL Server 2008 R2, called LU_Employee. It has a primary key column (int), a column for name (varchar) and a column for surname (varchar).&lt;/p&gt;
&lt;p&gt;I want to be able to have a combo box in an InfoPath form, where the employee surnames in the LU_Employee table is the selection.&lt;/p&gt;
&lt;p&gt;Could someone please, in detail, explain to me how to do this, and my combo box apprears empty. &lt;/p&gt;
&lt;p&gt;Is there are step-by-step guide online that could assist me in doing this? I would also appreciate any suggested book I can buy that could help with InfoPath with SQL and Access. &lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Christiaan&lt;/p&gt;</description></item></channel></rss>