<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Many to One (error), One to Many</title><link>https://www.infopathdev.com:443/forums/thread/26690.aspx</link><pubDate>Fri, 22 Feb 2008 17:48:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26690</guid><dc:creator>bharvey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26690.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26690</wfw:commentRss><description>&lt;p&gt;wow - thanks!&amp;nbsp; I never would have thought it would require sample data!&lt;/p&gt;&lt;p&gt;Doing that seems to have worked!&amp;nbsp;&amp;nbsp;&amp;nbsp; Seems like they should come up with a better message than saying a many-to-one relationship exists when there is no data for it to understand.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Can data be submitted to both the sql database and sharepoint list?&amp;nbsp; There are a few fields on information we&amp;#39;d like to submit to a sharepoint list as well as the sql database. Not all, just a few.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks!&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Many to One (error), One to Many</title><link>https://www.infopathdev.com:443/forums/thread/26680.aspx</link><pubDate>Fri, 22 Feb 2008 06:30:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26680</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26680.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26680</wfw:commentRss><description>&lt;p&gt;It sounds like you have done everything right. I wqould check it again and make sure.&lt;/p&gt;
&lt;p&gt;In the data connection you would select the asset table and use the add button to add the component table.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Make sure you have at least one record in each table. Infopath needs a sample value.&lt;/p&gt;</description></item><item><title>Many to One (error), One to Many</title><link>https://www.infopathdev.com:443/forums/thread/26679.aspx</link><pubDate>Fri, 22 Feb 2008 04:29:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26679</guid><dc:creator>bharvey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26679.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26679</wfw:commentRss><description>&lt;p&gt;I have a form with an &amp;quot;asset&amp;quot; that can have multiple &amp;quot;components&amp;quot;.&amp;nbsp; Thus, I have a repeating section for components.&lt;/p&gt;&lt;p&gt;I want this to dump into a database. Similar to having an invoice with multiple items purchased.&lt;/p&gt;&lt;p&gt;When I did the form creation, I selected and Access database.&amp;nbsp; One table is the main table&amp;nbsp; &amp;quot;assets&amp;quot; with ID set as the primary key.&amp;nbsp; I added in another table &amp;quot;components&amp;quot; which has an ID set as the primary key.&amp;nbsp; The components table has a field &amp;quot;asset_id&amp;quot;.&amp;nbsp;&amp;nbsp; I created the relation on the form connecting&amp;nbsp; Components.asset_id=Assets.ID&amp;nbsp;&amp;nbsp;&amp;nbsp; When I try to create the submission data connection, it says I have a Many to One relationship!&amp;nbsp; (instead of a One to Many).&amp;nbsp;&amp;nbsp;&amp;nbsp; I&amp;#39;ve created many Mysql Databases in my time.&amp;nbsp; Never had a problem doing joins.&amp;nbsp; I&amp;#39;ve done some in MSSql and never had a problem.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Why would infopath think it&amp;#39;s a &amp;quot;many to one&amp;quot; vs&amp;nbsp; &amp;quot;one to many&amp;quot;?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks!&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>