<?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: Run Query, Return SQL Table Data</title><link>https://www.infopathdev.com:443/forums/thread/51259.aspx</link><pubDate>Mon, 01 Feb 2010 22:17:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:51259</guid><dc:creator>jdog29</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/51259.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=51259</wfw:commentRss><description>&lt;p&gt;OK, Thanks Hilary that helped a lot.&lt;/p&gt;
&lt;p&gt;I now have two sections on the form.&lt;/p&gt;
&lt;p&gt;The first section is where user enters data and submits.&amp;nbsp; This part works great.&lt;/p&gt;
&lt;p&gt;The second section is where I now have a repeating table that displays the table of all the data that users have entered in section one for past 10 days.&amp;nbsp; To do this I modified the SQL statement of the secondary connection. &lt;/p&gt;
&lt;p&gt;The problem I now have is when I click Run Query button, it only displays the first record in section one on the form. &lt;/p&gt;
&lt;p&gt;Section two&amp;nbsp;is just a table showing data for past 10 days.&amp;nbsp; This works, but what if they need to edit one of these. What I would like to have, is a few data elements that the user could enter and query and it would populate the form&amp;#39;s section one.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;They could then edit and submit to overwrite record.&lt;/p&gt;
&lt;p&gt;Does this make sense and is it possible?&lt;/p&gt;
&lt;p&gt;Thank You.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Run Query, Return SQL Table Data</title><link>https://www.infopathdev.com:443/forums/thread/50898.aspx</link><pubDate>Fri, 22 Jan 2010 03:43:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50898</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50898.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=50898</wfw:commentRss><description>&lt;p&gt;You could add a secondary data connection to the table. Add an action to a button to query the new data source, put a repeating table control on the form and add some filters to it to limit the data displayed. Keep in mind that the bigger your table gets, the more records a query would pull -- so you may have an impact on your form&amp;#39;s performance (that&amp;#39;s one of the problems that &lt;a href="http://www.qdabra.com/en/products/DBXL.aspx"&gt;DBXL&lt;/a&gt; solves -- it allows you to create filtered SQL queries without code).&lt;/p&gt;</description></item><item><title>Run Query, Return SQL Table Data</title><link>https://www.infopathdev.com:443/forums/thread/50891.aspx</link><pubDate>Fri, 22 Jan 2010 00:20:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:50891</guid><dc:creator>jdog29</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/50891.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=50891</wfw:commentRss><description>&lt;p&gt;I have Infopath 2007 form that allows user to input data and submit to a SQL server table.&lt;/p&gt;
&lt;p&gt;This part works great.&amp;nbsp; Now what I need is on the same form, some way to show the data in that table.&lt;/p&gt;
&lt;p&gt;How do I get the Run Query button to display the whole table data, like excel can do with a pivot table data connection.&lt;/p&gt;
&lt;p&gt;Or maybe only show the data the user entered for today.&lt;/p&gt;
&lt;p&gt;Any help would be greatly appreciated.&lt;/p&gt;
&lt;p&gt;Thanks All.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;JDog29&lt;/p&gt;</description></item></channel></rss>