<?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>Solved: SQL DB Form, second added table to data source structure wont repeat</title><link>https://www.infopathdev.com:443/forums/thread/102645.aspx</link><pubDate>Tue, 26 May 2015 14:04:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102645</guid><dc:creator>Jnellson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102645.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=102645</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I screwed up the SQL. Table three should have looked like:&lt;/p&gt;&lt;p&gt;&lt;br /&gt;CREATE TABLE [MEDD].[dbo].[TBL_IMPLEMENTATIONS_LOG_TABLES](&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [TABLE_USED_ID] int IDENTITY(1,1) NOT NULL Primary Key,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [CHANGE_NUMBER] int FOREIGN KEY REFERENCES [dbo].[TBL_IMPLEMENTATIONS_LOG]([CHANGE_NUMBER]),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SERVER_USED_ID] int FOREIGN KEY REFERENCES [dbo].[TBL_IMPLEMENTATIONS_LOG_SERVERS]([SERVER_USED_ID]),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [TABLE_NAME] [nvarchar](255)&lt;br /&gt;);&lt;br /&gt;GO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>SQL DB Form, second added table to data source structure wont repeat</title><link>https://www.infopathdev.com:443/forums/thread/102633.aspx</link><pubDate>Fri, 22 May 2015 22:18:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:102633</guid><dc:creator>Jnellson</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/102633.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=102633</wfw:commentRss><description>&lt;p&gt;I built a form for working with a few tables in SQL (table creation code below). When I built the form initially everything worked. I recently moved the DB to a new server and now the 3rd table in my data source structure will not repeat. When creating the connection table 1 was added first, then table 2 was related to table 1 on a single connected field. Then&amp;nbsp; table 3 was related to the table 2 and there are two connected fields. This way there can be multiple table 3 entries for each table 2 and multiple table 2 entries for table 1.If I remove one of the two connected fields for the table 3 &amp;gt;table 2 relation then it repeats but i cannot submit the form due to a many to one relation. As I said before, this worked earlier this week with the exact same configuration, although I cannot repeat the success even with the old data set. &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Please help, thank you!&lt;/p&gt;&lt;p&gt;Table 1&lt;br /&gt;CREATE TABLE [MEDD].[dbo].[TBL_IMPLEMENTATIONS_LOG](&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [CHANGE_NUMBER] int IDENTITY(1,1) NOT NULL Primary Key,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [REQUEST_TRACKER_ID] [nvarchar](6) NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [PRIORITY] [nvarchar](7) NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [HPSM_REQUESTOR] [nvarchar](30) NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [HPSM_APPROVING_MANGER] [nvarchar](30) NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [HPSM_APPROVING_VP] [nvarchar](30) NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [CHANGE_TYPE] [nvarchar](20) NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SUB_SCRIPT] [nvarchar](20) NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NAME_OF_SSIS_PACKAGE] [nvarchar](30) NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NAME_OF_SQL_SCRIPT] [nvarchar](6) NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [LOCATION_OF_CHANGE_COMPONENTS] [nvarchar](255) NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [DESCRIPTION_OF_CHANGE] [nvarchar](255) NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [NAME_OF_DEVELOPER] [nvarchar](30) NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [DATE_DEPLOYED_TO_DEV] [date] NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [DATE_DEPLOYED_TO_TEST] [date] NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [DATE_DEPLOYED_TO_PROD] [date] NULL,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [COMMENTS] [nvarchar](255) NULL&lt;br /&gt;);&lt;br /&gt;GO&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Table 2&lt;br /&gt;CREATE TABLE [MEDD].[dbo].[TBL_IMPLEMENTATIONS_LOG_SERVERS](&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SERVER_USED_ID] int IDENTITY(1,1) NOT NULL Primary Key,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [CHANGE_NUMBER] int FOREIGN KEY REFERENCES [dbo].[TBL_IMPLEMENTATIONS_LOG]([CHANGE_NUMBER]),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SERVER_NAME] [nvarchar](255)&lt;br /&gt;);&lt;br /&gt;GO&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Table 3&lt;br /&gt;CREATE TABLE [MEDD].[dbo].[TBL_IMPLEMENTATIONS_LOG_TABLES](&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SERVER_USED_ID] int IDENTITY(1,1) NOT NULL Primary Key,&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [CHANGE_NUMBER] int FOREIGN KEY REFERENCES [dbo].[TBL_IMPLEMENTATIONS_LOG]([CHANGE_NUMBER]),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [SERCER_USED_ID] int FOREIGN KEY REFERENCES [dbo].[TBL_IMPLEMENTATIONS_LOG_SERVERS]([SERVER_USED_ID]),&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; [TABLE_NAME] [nvarchar](255)&lt;br /&gt;);&lt;br /&gt;GO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>