<?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>SQL Database Integration</title><link>https://www.infopathdev.com:443/forums/47.aspx</link><description>For questions concerning issues in the integration of SQL and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Working with Repeating Tables</title><link>https://www.infopathdev.com:443/forums/thread/17118.aspx</link><pubDate>Wed, 04 Jan 2006 17:42:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17118</guid><dc:creator>ssaral</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17118.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17118</wfw:commentRss><description>I'm looking to both write and read from SQL...I have it working now the data sources were not setup correctly and there was an issue with the way the table keys were defined...thanks.</description></item><item><title>Re: Working with Repeating Tables</title><link>https://www.infopathdev.com:443/forums/thread/17117.aspx</link><pubDate>Tue, 03 Jan 2006 15:08:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17117</guid><dc:creator>shailaja</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17117.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=17117</wfw:commentRss><description>Hello Ssral,&lt;br /&gt;   One question that I have for you is - are you trying to just retrieve data or to both retrieve and submit data to the DB. If you are trying to just retrieve data from the DB you can create a new data connection using Tools -&amp;gt; Data connections to the specific SQL DB. To show this data in a repeating table format, drag drop the repeating table from the Controls task pane and then bind it to the secondary data connection just created.&lt;br /&gt;&lt;br /&gt;If on the other hand you are trying to both retrieve and submit data, then you would have to create an InfoPath form which has the SQL connection as the main Data connection. To do this please follow the steps below&lt;br /&gt;1. In Design a Form task pane, click on New from Data connection&lt;br /&gt;2. Create a data connection to the specific SQL DB in the data connection wizard that comes up. In the last window of the data connection wizard you will be told if Submit is allowed or not to this specific table in the database.&lt;br /&gt;3. This will create some default UI to be able to insert.&lt;br /&gt;4. If submit is allowed based on text shown in the last window in the wizard - you will be able to enable submission of forms using Tools -&amp;gt; Submitting forms. This will allow you to update existing data in the database.&lt;br /&gt;&lt;br /&gt;Hope this helps!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Shailaja&lt;br /&gt;InfoPath Dev India</description></item><item><title>Working with Repeating Tables</title><link>https://www.infopathdev.com:443/forums/thread/16768.aspx</link><pubDate>Fri, 30 Dec 2005 16:08:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16768</guid><dc:creator>ssaral</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16768.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=16768</wfw:commentRss><description>Hi Guys,&lt;br /&gt;&lt;br /&gt;I'm new to Infopath and I'm trying to create a repeating table to hold Revision History data for a document and link that to an SQL database. I was able to link other text boxes to my SQL data source, but can't get the repeating table to work with my SQL tables. &lt;br /&gt;&lt;br /&gt;My SQL table for Revision History is a called &lt;b&gt;SME9_RevHist&lt;/b&gt;, with the following columns:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;S90Key&lt;/b&gt; is the Primary Key for the table&lt;br /&gt;&lt;b&gt;S91Ver&lt;/b&gt; is for the version number&lt;br /&gt;&lt;b&gt;S92VerDate&lt;/b&gt; is for the Date the version was updated &lt;br /&gt;&lt;b&gt;S93Auth&lt;/b&gt; is for the Author name who made the version update&lt;br /&gt;&lt;b&gt;S94Comm&lt;/b&gt; is for Additional comments&lt;br /&gt;&lt;br /&gt;Next I created a repeating group called &lt;b&gt;RevInfo&lt;/b&gt; with the following elements:&lt;br /&gt;&lt;b&gt;Ver&lt;br /&gt;VerDate&lt;br /&gt;Auth&lt;br /&gt;Comm&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;So, how can I now connect the elements in the repeating group the my SQL table and be able to store and retrive information typed into these fields when using the form or do I need to go down a different path...&lt;br /&gt;&lt;br /&gt;thanks, a bunch&lt;br /&gt;ssaral</description></item></channel></rss>