<?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: SQL Data Connection Child Tables not Repeating</title><link>https://www.infopathdev.com:443/forums/thread/82305.aspx</link><pubDate>Wed, 05 Sep 2012 00:46:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82305</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82305.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=82305</wfw:commentRss><description>&lt;p&gt;So... I&amp;#39;m a little confused. Are you also submitting the completed XML someplace? Otherwise your &amp;quot;non-pervasive&amp;quot; control data will just be lost at which point it wouldn&amp;#39;t make any sense to fill it out, right?&lt;/p&gt;</description></item><item><title>Re: SQL Data Connection Child Tables not Repeating</title><link>https://www.infopathdev.com:443/forums/thread/82196.aspx</link><pubDate>Fri, 31 Aug 2012 10:50:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82196</guid><dc:creator>newbe5</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82196.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=82196</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;OK! I have kind of got around this now, but I have hit a new issue! I&amp;#39;ll try and explain:&lt;/p&gt;&lt;ul style="text-transform:none;text-indent:0px;letter-spacing:normal;padding-left:2.5em;word-spacing:0px;white-space:normal;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;li&gt;I am creating a monthly check list form.&lt;/li&gt;&lt;li&gt;Some controls in the check list need to be pervasive (these are being saved to SQL) and need to be populated when a fresh form is opened.&lt;/li&gt;&lt;li&gt;Some controls are only relevant to the month in which the form is being filled, and need to be empty the next time a fresh form is opened.&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0px 0px 1em;padding:0px 0.2em;text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;The fields that are being pulled from SQL are fine, and these are working well. My issue is that I now want to add the non-pervasive controls (created within the form) to a repeating section created from one of the pervasive groups.&lt;/p&gt;&lt;p style="margin:0px 0px 1em;padding:0px 0.2em;text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;So, my design looks a little like this:&lt;/p&gt;&lt;ul style="text-transform:none;text-indent:0px;letter-spacing:normal;padding-left:2.5em;word-spacing:0px;white-space:normal;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;li&gt;d:Servers (SQL Master Table)&lt;/li&gt;&lt;li&gt;&lt;span style="white-space:pre;"&gt;&lt;/span&gt;- d:SoftwareVersionsOnServers (SQL Child Table)&lt;/li&gt;&lt;li&gt;my:PerServerCheck (created from the form)&lt;/li&gt;&lt;/ul&gt;&lt;p style="margin:0px 0px 1em;padding:0px 0.2em;text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&lt;img src="http://dl.dropbox.com/u/1740216/MonthlyCheck.png" alt="" /&gt;&lt;/p&gt;&lt;p style="margin:0px 0px 1em;padding:0px 0.2em;text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;So currently, if I check one of these boxes, it checks it in every server of the repeating servers section, and I only want it to relate to that one instance of the repetition. I know I can achieve this by adding fields to the root Servers table, but I want these controls to be NON-pervasive,&amp;nbsp;so they need to be fresh every month and for ease of use it would be better if I could add checkboxes in future without having to edit my DB tables.&lt;/p&gt;&lt;p style="margin:0px 0px 1em;padding:0px 0.2em;text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;Does anyone have any suggestions? Would be much appreciated!&lt;/p&gt;&lt;p style="margin:0px 0px 1em;padding:0px 0.2em;text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0px 0px 1em;padding:0px 0.2em;text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;orphans:2;widows:2;font-size-adjust:none;font-stretch:normal;-webkit-text-size-adjust:auto;-webkit-text-stroke-width:0px;"&gt;Richard&lt;/p&gt;&lt;p&gt;&lt;br class="Apple-interchange-newline" /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: SQL Data Connection Child Tables not Repeating</title><link>https://www.infopathdev.com:443/forums/thread/82123.aspx</link><pubDate>Wed, 29 Aug 2012 19:06:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82123</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82123.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=82123</wfw:commentRss><description>&lt;p&gt;Many to many is the problem. You could create a dummy table to connect them - something that is just an auto incrementing ID field. Add that field to your other tables so you can relate them to your new &amp;quot;parent&amp;quot; table. Does that make sense?&lt;/p&gt;</description></item><item><title>Re: SQL Data Connection Child Tables not Repeating</title><link>https://www.infopathdev.com:443/forums/thread/82106.aspx</link><pubDate>Wed, 29 Aug 2012 14:54:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82106</guid><dc:creator>newbe5</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82106.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=82106</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;d really prefer the ability to also add new servers if required, as well as software and software versions... So, all three really, with the ServerSoftwareVersions table as a kind of &amp;quot;Master&amp;quot; table to tie the whole thing together, It seems as though my entire issue is the inability to submit to the database if you have one-to-many relationships in the table structure (which I clearly do). I have found a reference by someone called S.Y.M. Wong-A-Ton on Youtube who has referenced a way to do this, but unfortunately I can&amp;#39;t actually find a guide on how this can be achieved :/&lt;/p&gt;&lt;p&gt;&amp;nbsp;The Software and versions tables could technically be flattened in to one table, I&amp;#39;d just have one column with the same data repeated a few times, which isn&amp;#39;t the end of the world if it is required!&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Edit: I actually meant many-to-one relationships here. If I reverse the binding (to be one-to-many) it lets me add two tables, but obviously I can&amp;#39;t add more as they don&amp;#39;t relate to the first one I added :/&lt;/p&gt;</description></item><item><title>Re: SQL Data Connection Child Tables not Repeating</title><link>https://www.infopathdev.com:443/forums/thread/82102.aspx</link><pubDate>Wed, 29 Aug 2012 14:29:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82102</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82102.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=82102</wfw:commentRss><description>&lt;p&gt;So, it seems to me that you only need to submit to Software and SoftwareVerions out of the 4 tables listed, is that correct? And then the Servers &amp;amp; Software tables are to be used as lookups? Or can the user also submit new Servers / new ServerSoftwareVersions? That is, do you need to submit to the Server tables or are those just displayed for informational purposes?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>SQL Data Connection Child Tables not Repeating</title><link>https://www.infopathdev.com:443/forums/thread/82096.aspx</link><pubDate>Wed, 29 Aug 2012 12:57:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82096</guid><dc:creator>newbe5</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82096.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=82096</wfw:commentRss><description>&lt;p&gt;Hi all, I&amp;#39;m in REAL need of some help!&lt;br /&gt;I&amp;#39;ve been banging my head against this issue for a day now, and I&amp;#39;m getting nowhere fast, so I&amp;#39;m afraid I have to bug you guys!&lt;/p&gt;&lt;p&gt;What I want to achieve is this:&lt;/p&gt;&lt;p&gt;A list of software.&lt;br /&gt;A list of software versions.&lt;br /&gt;A list of servers.&lt;/p&gt;&lt;p&gt;A table that relates a server to a software version for lookup in the form.&lt;/p&gt;&lt;p&gt;And I want to be able to pull this in to an InfoPath form using an SQL connection. But more importantly, I need to be able to write this information back to the database once completed. I have had minor success in this, but I always hit one or more snags, and it is REALLY starting to drive me mad.&lt;/p&gt;&lt;p&gt;The form is a form-filler only form (no web, I have set this in compatibility)&lt;/p&gt;&lt;p&gt;My SQL Tables look like this:&lt;/p&gt;&lt;p&gt;Table: Servers || ServerID, ServerName&lt;br /&gt;Table: Software || SoftwareID - SoftewareName&lt;br /&gt;Table: SoftwareVersions || SoftwareVersionID, VersionName, SoftwareName&lt;br /&gt;Table: ServerSoftwareVersions, ServerID(Related to Servers:ServerID), SoftwareVersionID(Related to SoftwareVersions:SoftwareVersionID)&lt;/p&gt;&lt;p&gt;The InfoPath form itself will firstly have a Repeating Table (which loads from the DB when the form opens). From here, the user can add new software or software versions if they wish. The next section of the form will be a repeating section, with a table inside it containing information for each server. Within that, there will need to be a repeating TABLE, listing all software versions associated with that server (this might sound complicated, I can post a screenshot if needed). Now, I have kind of got this working, but not in the way it really should, or I really want it to. The major issue I have is, if I add the ServerSoftwareVersions table as the Primary Connection, then add any of my other tables as a child, they do NOT show as repeating sections. Meaning I can&amp;#39;t add the SoftwareVersions section as a repeating table within my Servers repeating section.&lt;/p&gt;&lt;p&gt;Confusingly, if I add the Servers table (or any of the others) as the primary, and then the ServerSoftwareVersions as a child, then they both show as repeating, but I can&amp;#39;t add my other tables as they do not directly relate to the Servers table...&lt;/p&gt;&lt;p&gt;If I do try&amp;nbsp;to add relationships for all the tables and add them in&amp;nbsp;correctly (at least, I think I&amp;#39;m adding them in correctly, with the linking table as the parent and the others as children), I get an error telling me&amp;nbsp;about many to one relationships :/&lt;/p&gt;&lt;p&gt;I&amp;#39;m clearly doing something insane here, could anyone help me? I&amp;#39;ve run around in circles trying to find a guide on how to do this correctly, but all I can find is information about reading from SQL servers, and they only show one (or two, but never more) table at a time.&lt;/p&gt;&lt;p&gt;Any help is much appreciated! I can send screenshots to help clarify anything I have described if needed!&lt;/p&gt;&lt;p&gt;Thanks in advance,&lt;/p&gt;&lt;p&gt;Rich&lt;/p&gt;&lt;p&gt;&amp;nbsp;Edit: It seems that my entire issue is the inability to submit to databases that have a one-to-many relationship. Could anyone advise as to how I can achieve this in InfoPath? Thanks!&lt;/p&gt;</description></item></channel></rss>