<?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: Stored Procedures SQL Tie-ins!</title><link>https://www.infopathdev.com:443/forums/thread/55844.aspx</link><pubDate>Mon, 14 Jun 2010 12:21:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55844</guid><dc:creator>sql_dan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55844.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=55844</wfw:commentRss><description>Hi Prasad,

I feel a little overwhelmed.. 

&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Prasad:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;Setup a secondary data connection with sql db and use&amp;nbsp;it to populate.&amp;nbsp;&lt;/p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;
could you explain how I would do this please??

Thanks
Dan</description></item><item><title>Re: Stored Procedures SQL Tie-ins!</title><link>https://www.infopathdev.com:443/forums/thread/55843.aspx</link><pubDate>Mon, 14 Jun 2010 12:13:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55843</guid><dc:creator>Prasad</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55843.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=55843</wfw:commentRss><description>&lt;p&gt;Setup a secondary data connection with sql db and use&amp;nbsp;it to populate.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Stored Procedures SQL Tie-ins!</title><link>https://www.infopathdev.com:443/forums/thread/55836.aspx</link><pubDate>Mon, 14 Jun 2010 08:21:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:55836</guid><dc:creator>sql_dan</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/55836.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=55836</wfw:commentRss><description>Morning All,&lt;br /&gt;&lt;br /&gt;I have been puzzling over this for about a week now and I feel that my head may expolde!&lt;br /&gt;I have been tasked with creating an Electronic Form to capture all items used in each procedure we complete.&lt;br /&gt;&lt;br /&gt;Currently this is captured on paper preference sheets which I manually upload into the SQL database using a series of Stored Procedures.&lt;br /&gt;&lt;br /&gt;Within the Database I am only updating 3 tables which are:&lt;br /&gt;&lt;br /&gt;ProcedureConsCode&lt;br /&gt;ProcedureConsQty&lt;br /&gt;ProcedureConsCost&lt;br /&gt;&lt;br /&gt;In essence I have one Stored Procedure per procedure which stores all of the default stock codes that are used in the procedure. &lt;br /&gt;This will then update the &amp;#39;ProcedureConsCode&amp;#39; table and has space at the end for any ancillary items used. &lt;br /&gt;&lt;br /&gt;In a SQL Query I am defining all parameters for the &amp;#39;ProcedureConsQty&amp;#39; table and also defining any of the ancillary stock code and appropriate quantites.&lt;br /&gt;&lt;br /&gt;The SQL Query then runs 3 Stored Procedures, 1 for each of the tables I am updating based on the procedure that is being inputted.&lt;br /&gt;&lt;br /&gt;1. SP_PCode - This updates the table with the default stock codes as well as the ancillary items used&lt;br /&gt;2. SP_PQty - This updates the quantities used for each item&lt;br /&gt;3. SP_PCost - This looks the stock code in ProcedureConsCode up against the &amp;#39;Consumables&amp;#39; table and multiplies the item cost by the quantity.&lt;br /&gt;&lt;br /&gt;I am wanting to migrate this into an InfoPath form but have never done any programming work within InfoPath before.&lt;br /&gt;I have read through the &amp;#39;Fun with Sequential Forms&amp;#39; that Hilary wrote: http://www.infopathdev.com/blogs/hilary/archive/2008/11/21/fun-with-sequential-form-ids-sql-and-sprocs.aspx and tried to mimic it directly without success.&lt;br /&gt;&lt;br /&gt;I am good with SQL but not really any other language. I have also built InfoPath forms before but nothing this complex. If it helps I have access to InfoPath 2003/2007 &amp;amp; 2010 (Beta).&lt;br /&gt;If anyone can help shed some light on this I would be eternally grateful!&lt;br /&gt;&lt;br /&gt;I really hope this all makes sense to you, I just don&amp;#39;t see what I am missing!&lt;br /&gt;&lt;br /&gt;Thanks for looking! Let me know if you need any further clarification!&lt;br /&gt;&lt;br /&gt;Dan</description></item></channel></rss>