<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Infopath with MYSQL 2005 Express - HEEEEEELLLP!</title><link>https://www.infopathdev.com:443/forums/thread/42158.aspx</link><pubDate>Wed, 27 May 2009 14:58:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42158</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42158.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=42158</wfw:commentRss><description>&lt;p&gt;All tables in SQL will need a primary key. What are the relationships between your tables? How did you define those relationships in InfoPath when you added the child table to the parent?&lt;/p&gt;</description></item><item><title>Re: Infopath with MYSQL 2005 Express - HEEEEEELLLP!</title><link>https://www.infopathdev.com:443/forums/thread/42097.aspx</link><pubDate>Wed, 27 May 2009 02:55:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42097</guid><dc:creator>martinkeatings</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42097.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=42097</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;ok.......i just tried something. I removed the tick box as you told me too and it was all or nothing. All of the tables as repeating or none. However i went back to sql and removed the primary key from one of the child fields and what do you know it became a repeating group while the parent was a non repeating. bingo! i thought to myself but now when i click next it says:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;submit status: Not allowed: one or more of the tables in the data source do not have a primary key, unique contraint or unique index. &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Infopath with MYSQL 2005 Express - HEEEEEELLLP!</title><link>https://www.infopathdev.com:443/forums/thread/42094.aspx</link><pubDate>Wed, 27 May 2009 01:52:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42094</guid><dc:creator>martinkeatings</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42094.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=42094</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;hi there hilary. its just not working. The tick box is disabled on child tables and every time i try to map a repeating section to one of the child folders it comes up with &amp;quot;a repeating section must be bound to a field or group that repeats&amp;quot;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Infopath with MYSQL 2005 Express - HEEEEEELLLP!</title><link>https://www.infopathdev.com:443/forums/thread/42089.aspx</link><pubDate>Tue, 26 May 2009 23:03:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42089</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42089.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=42089</wfw:commentRss><description>&lt;p&gt;Actually, you should be able to set the child table to have multiple rows.... especially if the relationship between the tables has been defined correctly on the server side....&lt;/p&gt;
&lt;p&gt;With the parent table selected in the data source wizard (in the window that says &lt;strong&gt;&lt;em&gt;Data source structure&lt;/em&gt;&lt;/strong&gt;) after setting the parent table to not have multiple records, you should be able to select the &lt;strong&gt;Add Table&lt;/strong&gt; button. You&amp;#39;ll have a chance to define your relationships (column a in table parent should be equal to column b in table child, or whatever your data structure looks like). When I walked through this a second ago, to make sure I was talking sense, my parent table shows as a plain folder in the Data source structure window, and my child table has the little blue arrow flag on it, to let me know it repeats....&lt;/p&gt;</description></item><item><title>Re: Infopath with MYSQL 2005 Express - HEEEEEELLLP!</title><link>https://www.infopathdev.com:443/forums/thread/42078.aspx</link><pubDate>Tue, 26 May 2009 19:48:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42078</guid><dc:creator>martinkeatings</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42078.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=42078</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi Again,&lt;/p&gt;&lt;p&gt;&amp;nbsp;I am having a little problem here&lt;/p&gt;&lt;p&gt;I obvoiusly dont want things like customer name, address 1st line, address second line etc&amp;nbsp; to be in a repeating section (as i described above) but i do have 1 or two repeating sections later on in the form for adding telephone numbers etc. When i switch off &amp;quot;allowing multiple records&amp;quot; in the parent table i cant switch it on on any of the child tables so i assume therefore I cant use the repeating section for the child table. How do i get round this tebockle? or will it let me post multiple rows to the child table even though this is switched off?&lt;/p&gt;&lt;p&gt;&amp;nbsp;cheers in advance.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Martin &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Infopath with MYSQL 2005 Express - HEEEEEELLLP!</title><link>https://www.infopathdev.com:443/forums/thread/42066.aspx</link><pubDate>Tue, 26 May 2009 17:20:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42066</guid><dc:creator>martinkeatings</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42066.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=42066</wfw:commentRss><description>&lt;p&gt;Hilary! you are the first person who has actually made complete sense. Ill go give this a try and get back too you. cheers......it is infopath 2007 by the way.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;cheers&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;martin &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Infopath with MYSQL 2005 Express - HEEEEEELLLP!</title><link>https://www.infopathdev.com:443/forums/thread/42042.aspx</link><pubDate>Mon, 25 May 2009 23:34:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42042</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42042.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=42042</wfw:commentRss><description>&lt;p&gt;Hi, Martin. Welcome to the forum.&lt;/p&gt;
&lt;p&gt;The reason IP wants to put the controls into a repeating section is because your data structure is repeating in nature. That is -- you&amp;#39;ve connected your form to a database table. That table can have one to umpteen rows. InfoPath will always assume it has umpteen. &lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure if you are using InfoPath 2003 or 2007, and I don&amp;#39;t recall the IP 2003 options very well, so please forgive me if this doesn&amp;#39;t apply to your situation, but in IP 2007, when we walk through the wizard to create a new IP form off a database, on the screen where you select your database, &lt;strong&gt;after&lt;/strong&gt;&amp;nbsp;you select your database, you can select the table in the window that says &lt;strong&gt;&lt;em&gt;Data source structure&lt;/em&gt;&lt;/strong&gt; and then click the button to the right that says &lt;strong&gt;Modify Table&lt;/strong&gt;. When you click that button, the title of the dialog box is &lt;strong&gt;Sort Order&lt;/strong&gt; and most of the stuff in there is about sorting your records. However, at the bottom is a little checkbox about allowing multiple records. This is selected by default. De-select it, and be aware that if you walk through the data connection wizard again, IP will generally reselect it for you!&lt;/p&gt;
&lt;p&gt;Now your highest level&amp;nbsp;data fields group that starts with &amp;quot;d:&amp;quot; will not be repeating. &lt;/p&gt;
&lt;p&gt;To get the type of control you want, you can right click the text box and select &amp;#39;Change To&amp;#39; or in the data source, right click and see the controls available.&lt;/p&gt;
&lt;p&gt;To create a relationship between two tables in SQL, look at the table in design mode and right click on the open window and select relationships....For a tutorial, go about halfway down &lt;a href="http://www.blackwasp.co.uk/SQLForeignKeys.aspx"&gt;this&lt;/a&gt; page and look for &lt;strong&gt;Adding a Foreign Key Using SQL Server Management Studio&lt;/strong&gt;. You&amp;#39;ll have to define the relationship in InfoPath too, and &lt;a href="http://office.microsoft.com/en-us/infopath/HP100969251033.aspx#4"&gt;this&lt;/a&gt; from Office Online should get you moving in the right direction.&lt;/p&gt;
&lt;p&gt;Hope this helps!&lt;/p&gt;</description></item><item><title>Infopath with MYSQL 2005 Express - HEEEEEELLLP!</title><link>https://www.infopathdev.com:443/forums/thread/42040.aspx</link><pubDate>Mon, 25 May 2009 22:17:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:42040</guid><dc:creator>martinkeatings</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/42040.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=42040</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Okay! where to start. This is driving me frigging bonkers! I am pretty new to Infopath and so far every item I have found relating to this problem has been written by some dork that loves to lay on the geek speek just to sound smart. Unfortunately it goes right over my head and i need a clear concise answer to my problem.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have designed a form which includes option buttons, text fields, rich text fields and repeating sections containing the afore mentioned. I am trying to hook this form to a sql database on my windows 2003 server (2005 sql express running)&lt;/p&gt;&lt;p&gt;&amp;nbsp;My problem is that what I create a new form using the Design a form template &amp;gt; Database option. When I drag the fields across from the datafields (data source) it immediately sticks the field on the page as a text box and shoves it inside a repeating section box. When I try to move the text box out of the repeating section it immediately says (control cannot store data correctly).&lt;/p&gt;&lt;p&gt;&amp;nbsp;I also need to know what i should set the datatypes to on sql for each of the individual field types listed above and how i should be laying out the fields in sql server (in particular - how the hell do I setup parent/child fields using&amp;nbsp; Microsoft SQL Server Management Studio.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Any help would be appreciated as would it being simple aswell.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;cheers&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Martin &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>