<?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: Error using delete - what have I done wrong ?</title><link>https://www.infopathdev.com:443/forums/thread/54986.aspx</link><pubDate>Tue, 18 May 2010 16:38:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54986</guid><dc:creator>Aruna Akella</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54986.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=54986</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m glad it&amp;#39;s working for you :)&lt;/p&gt;</description></item><item><title>Re: Error using delete - what have I done wrong ?</title><link>https://www.infopathdev.com:443/forums/thread/54978.aspx</link><pubDate>Tue, 18 May 2010 13:47:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54978</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54978.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=54978</wfw:commentRss><description>&lt;p&gt;Thank you very much.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I thought I had to put the parameters in to the Qrules and then call the query.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Much appreciated.&lt;/p&gt;
&lt;p&gt;Catharine&lt;/p&gt;</description></item><item><title>Re: Error using delete - what have I done wrong ?</title><link>https://www.infopathdev.com:443/forums/thread/54928.aspx</link><pubDate>Mon, 17 May 2010 02:55:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54928</guid><dc:creator>Aruna Akella</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54928.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=54928</wfw:commentRss><description>&lt;p&gt;Hi Catharine,&lt;/p&gt;
&lt;p&gt;I think I know why you are getting that null reference exception - can you delete this action(Query using a data connection : QdabraRules)? You don&amp;#39;t have to set that action. &lt;/p&gt;
&lt;p&gt;Attached a pic of how this rule should look. &lt;/p&gt;</description></item><item><title>Re: Error using delete - what have I done wrong ?</title><link>https://www.infopathdev.com:443/forums/thread/54888.aspx</link><pubDate>Fri, 14 May 2010 13:09:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54888</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54888.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=54888</wfw:commentRss><description>&lt;p&gt;Hi Catharine,&lt;/p&gt;&lt;p&gt;Well, I don&amp;#39;t know that you want to completely delete that xpath! Perhaps it&amp;#39;s acceptable to simply have a rule that sets the field&amp;#39;s value to nothing (blank)? &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Error using delete - what have I done wrong ?</title><link>https://www.infopathdev.com:443/forums/thread/54882.aspx</link><pubDate>Fri, 14 May 2010 10:29:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:54882</guid><dc:creator>Catharine</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/54882.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=54882</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have a multi-selection box.&amp;nbsp; If the user selects one particular option I want to delete any other items selected.&lt;/p&gt;
&lt;p&gt;The field with the selection box has an xpath /my:myFields/my:SKUIntroductionGroup/my:RegionalGroup (in the main data source).&lt;/p&gt;
&lt;p&gt;In the rules on that field I have added&amp;nbsp;a rule (see attachment).&amp;nbsp; The rule is only triggered if the value of RegionalGroup is Global.&amp;nbsp; The command I enter is Delete /xpath=/my:myFields/my:SKUIntroductionGroup/my:RegionalGroup[. !=&amp;quot;Global&amp;quot;]. Followed by a call to the qRules.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;When I select the Global option I get the error message shown below.&amp;nbsp; But when I clear that message it has done what I want.&lt;/p&gt;
&lt;p&gt;There are no values displayed in Success; or Error fields of the QdabraRules data source.&amp;nbsp; I am using version 2.0&lt;/p&gt;
&lt;p&gt;System.NullReferenceException&lt;br /&gt;Object reference not set to an instance of an object.&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Qdabra.Tools.RulesLibrary.Commands.ExecuteCommand(Application application, XmlFormHostItem formHost, XPathNavigator commandsNavigator)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Qdabra.Tools.RulesLibrary.FormCode.QdabraRules__Command_Changed(Object sender, XmlEventArgs e)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Office.InfoPath.Internal.XmlEventHost.GenericProxy(Object genericDelegate, DataDOMEvent dataDOMEvent, InfoPathEvents type)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Office.InfoPath.Internal.XmlEventHost.ChangedProxy(DataDOMEvent dataDOMEvent)&lt;br /&gt;&amp;nbsp;&amp;nbsp; at Microsoft.Office.Interop.InfoPath.SemiTrust._DataDOMEventSink_SinkHelper.OnAfterChange(DataDOMEvent pDataDOMEvent)&lt;/p&gt;
&lt;p&gt;I have obviously done something wrong - could you please advise.&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;Catharine&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>