<?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: Executing a Stored Procedure in a SQL DB using the ExecuteSqlQuery command</title><link>https://www.infopathdev.com:443/forums/thread/86288.aspx</link><pubDate>Tue, 22 Jan 2013 19:28:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86288</guid><dc:creator>Mfranco</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86288.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86288</wfw:commentRss><description>Found our problem!!! nothing to do with form. Found our main UDC was pointing at the wrong DB. Bypassing our target DB. Thank you for help. Thought id update you on what we found.</description></item><item><title>Re: Executing a Stored Procedure in a SQL DB using the ExecuteSqlQuery command</title><link>https://www.infopathdev.com:443/forums/thread/86282.aspx</link><pubDate>Tue, 22 Jan 2013 16:58:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86282</guid><dc:creator>Mfranco</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86282.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86282</wfw:commentRss><description>&lt;p&gt;Hilary, &lt;/p&gt;&lt;p&gt;Thank you for taking the time to look over the form. I am undergoing the process to see if anything at all could be triggering the SP. We looked over all triggers and we find nothing. i will get back to you soon as i find anything of use or questionable. Thank you for your expedience.&lt;/p&gt;</description></item><item><title>Re: Executing a Stored Procedure in a SQL DB using the ExecuteSqlQuery command</title><link>https://www.infopathdev.com:443/forums/thread/86278.aspx</link><pubDate>Tue, 22 Jan 2013 16:05:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86278</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86278.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86278</wfw:commentRss><description>I see nothing in the form. Any chance there is a trigger on your DB tables that is executing your stored proc? Can you run SQL Server Profiler while walking through the steps you are performing to repro this?</description></item><item><title>Re: Executing a Stored Procedure in a SQL DB using the ExecuteSqlQuery command</title><link>https://www.infopathdev.com:443/forums/thread/86257.aspx</link><pubDate>Tue, 22 Jan 2013 01:13:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86257</guid><dc:creator>Mfranco</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86257.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86257</wfw:commentRss><description>Thank you kindly. ;)</description></item><item><title>Re: Executing a Stored Procedure in a SQL DB using the ExecuteSqlQuery command</title><link>https://www.infopathdev.com:443/forums/thread/86256.aspx</link><pubDate>Tue, 22 Jan 2013 00:56:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86256</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86256.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86256</wfw:commentRss><description>On its way, and I&amp;#39;m going to delete your message w/ your email address in it. :)</description></item><item><title>Re: Executing a Stored Procedure in a SQL DB using the ExecuteSqlQuery command</title><link>https://www.infopathdev.com:443/forums/thread/86254.aspx</link><pubDate>Tue, 22 Jan 2013 00:38:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86254</guid><dc:creator>Mfranco</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86254.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86254</wfw:commentRss><description>&lt;p&gt;Directly to you if you wouldnt mind please.&lt;/p&gt;</description></item><item><title>Re: Executing a Stored Procedure in a SQL DB using the ExecuteSqlQuery command</title><link>https://www.infopathdev.com:443/forums/thread/86253.aspx</link><pubDate>Tue, 22 Jan 2013 00:33:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86253</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86253.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86253</wfw:commentRss><description>Sounds good - can you email it to the Support alias listed above? Or do you need to email directly to me?</description></item><item><title>Re: Executing a Stored Procedure in a SQL DB using the ExecuteSqlQuery command</title><link>https://www.infopathdev.com:443/forums/thread/86252.aspx</link><pubDate>Tue, 22 Jan 2013 00:17:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86252</guid><dc:creator>Mfranco</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86252.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86252</wfw:commentRss><description>&lt;p&gt;I talked with my boss he would like me to email you the form directly, please.&lt;/p&gt;</description></item><item><title>Re: Executing a Stored Procedure in a SQL DB using the ExecuteSqlQuery command</title><link>https://www.infopathdev.com:443/forums/thread/86250.aspx</link><pubDate>Mon, 21 Jan 2013 23:48:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86250</guid><dc:creator>Mfranco</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86250.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86250</wfw:commentRss><description>Indeed that is the heart of it. I appreciate your rapid responses. I will update and provide a copy ASAP.</description></item><item><title>Re: Executing a Stored Procedure in a SQL DB using the ExecuteSqlQuery command</title><link>https://www.infopathdev.com:443/forums/thread/86246.aspx</link><pubDate>Mon, 21 Jan 2013 23:37:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86246</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86246.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86246</wfw:commentRss><description>&lt;p&gt;Well - the heart of the question seems to be:&lt;/p&gt;&lt;p&gt;Why is this form executing a qRules command that has been removed?&lt;/p&gt;&lt;p&gt;And that&amp;#39;s why I want to take a look at the form - see if there is some logic hanging out somewhere making trouble. :-)&lt;/p&gt;</description></item><item><title>Re: Executing a Stored Procedure in a SQL DB using the ExecuteSqlQuery command</title><link>https://www.infopathdev.com:443/forums/thread/86243.aspx</link><pubDate>Mon, 21 Jan 2013 23:31:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86243</guid><dc:creator>Mfranco</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86243.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86243</wfw:commentRss><description>Hilary that will not be a problem, soon as the server is back up and i can rdc in, i will email it over with this thread and tags. Please keep in mind this is the same form that Joann is working with Charlie(CCBS). You too i believe have hand in it as well. Does this help?</description></item><item><title>Re: Executing a Stored Procedure in a SQL DB using the ExecuteSqlQuery command</title><link>https://www.infopathdev.com:443/forums/thread/86242.aspx</link><pubDate>Mon, 21 Jan 2013 23:17:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86242</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86242.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86242</wfw:commentRss><description>Can I take a look at your form? If you aren&amp;#39;t comfortable attaching it under the Options tab, email to Support AT Qdabra DOT com and mention this thread in the email.</description></item><item><title>Re: Executing a Stored Procedure in a SQL DB using the ExecuteSqlQuery command</title><link>https://www.infopathdev.com:443/forums/thread/86241.aspx</link><pubDate>Mon, 21 Jan 2013 23:10:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86241</guid><dc:creator>Mfranco</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86241.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86241</wfw:commentRss><description>It is still on the form, It is not set to load upon opening. Its only set to execute(when i did have the rule set) on the submit button.Thank you for your quick response.</description></item><item><title>Re: Executing a Stored Procedure in a SQL DB using the ExecuteSqlQuery command</title><link>https://www.infopathdev.com:443/forums/thread/86240.aspx</link><pubDate>Mon, 21 Jan 2013 23:03:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86240</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86240.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86240</wfw:commentRss><description>Is the data connection still in the form? Is it set to execute on load?</description></item><item><title>Executing a Stored Procedure in a SQL DB using the ExecuteSqlQuery command</title><link>https://www.infopathdev.com:443/forums/thread/86239.aspx</link><pubDate>Mon, 21 Jan 2013 22:52:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:86239</guid><dc:creator>Mfranco</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/86239.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=86239</wfw:commentRss><description>&lt;p&gt;Hey guys, &lt;/p&gt;&lt;p&gt;Im having a rather odd issue. Im trying to execute a stored procedure in sql using the qrules command ExecuteSqlQuery. &lt;/p&gt;&lt;p&gt;I set a fields value: Command&lt;/p&gt;&lt;p&gt;I use this formula( bear with me im going off of memory server is down for maintenance): &lt;font size="2"&gt;&lt;em&gt;concat(&amp;quot;ExecuteSqlQuery /dsname=SQLConnect /sql=Execute&amp;nbsp;dbo.prj_event_interface_imp3_insert&amp;nbsp;@passed_prj_code = SingleQuoteDoubleQuote,&amp;nbsp;my:prj, DoubleQuoteSingleQuoteDoubleQuote&amp;nbsp;)&lt;/em&gt; yes, where SQLConnect is located I have my data connection in place.&lt;/font&gt;&lt;/p&gt;&lt;p&gt;I may not have that exactly right but soon as i can ill post the actual expression, its along these lines though. Now for the problem. I succesfully got it to trigger the stored procedure and if i remember right it&amp;#39;s with parameters. But we had some issues with our Query, we began to conduct testing, so i disabled the action rule(my ExecuteSqlQuery) and went to submit again. Expecting to see data in all my tables in SQL we found that the stored procedure we created was still being triggered. Our stored procedure&amp;nbsp;statement contains a truncate for the two tables we intially submit to, An insert statement moves that data into our target DB before said truncate. With the rule disabled it should not be truncating nor inserting or anything in our stored procedure. So&amp;nbsp;I then deleted the rule all together. Closed and reopened the form(the designer not just the preview). Opened, previewed and submit. Only to see that STILL our stored procedure was being executed. We&amp;#39;ve gone over all established data connections and inspected all our queries for anything that could have possibly be triggering this event. Nothing else points to it. &lt;/p&gt;&lt;p&gt;Any help you guys can come up would great. I know you guys are busy. Thank you in advance.&lt;/p&gt;</description></item></channel></rss>