<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: ExecuteSqlQuery issue</title><link>https://www.infopathdev.com:443/forums/thread/94397.aspx</link><pubDate>Tue, 19 Nov 2013 22:54:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94397</guid><dc:creator>TomRenfro</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94397.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=94397</wfw:commentRss><description>&lt;p&gt;That was it.&amp;nbsp; You&amp;#39;re the best!&lt;/p&gt;</description></item><item><title>Re: ExecuteSqlQuery issue</title><link>https://www.infopathdev.com:443/forums/thread/94396.aspx</link><pubDate>Tue, 19 Nov 2013 22:41:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94396</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94396.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=94396</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi, Tom - the command should work in preview mode. I&amp;#39;m wondering if the issue is your stored procedure. I&amp;#39;ve found that stored procedures I use in InfoPath via IP data connections need to have implicit transactions set to off - &lt;a href="http://msdn.microsoft.com/en-us/library/ms187807.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms187807.aspx&lt;/a&gt;&amp;nbsp;- can you try that?&lt;/p&gt;</description></item><item><title>ExecuteSqlQuery issue</title><link>https://www.infopathdev.com:443/forums/thread/94386.aspx</link><pubDate>Tue, 19 Nov 2013 20:06:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94386</guid><dc:creator>TomRenfro</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94386.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=94386</wfw:commentRss><description>&lt;p&gt;Hi, I&amp;#39;m attempting to use the ExecuteSqlQuery command to fire a stored procedure against&amp;nbsp;a SQL table.&amp;nbsp; I have a column in the table called Entry_Deleted, which is a true/false column as opposed to just deleting the entry.&amp;nbsp; When the procedure is executed, it changes the value to 1 for true according to the userID.&lt;/p&gt;
&lt;p&gt;I have a receive data connection in the form to the table, and in a button rule, I&amp;#39;m querying the data connection, then running the qRules command.&amp;nbsp; Here&amp;#39;s the command: concat(&amp;quot;ExecuteSqlQuery /dsname=DARP /sql=EXEC dbo.MarkAsDeleted @UserID = &amp;#39;&amp;quot;, my:UserID, &amp;quot;&amp;#39;&amp;quot;)&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not getting any errors from qRules, but nothing&amp;#39;s changing in the database.&amp;nbsp; I&amp;#39;m attempting this when previewing the form, and I do know that it needs to be admin deployed and the data connection changed to a UDC for using in a browser.&lt;/p&gt;
&lt;p&gt;What do you see that might be missing, or does it just not work in preview mode?&lt;/p&gt;</description></item></channel></rss>