<?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: Set one table's values from another table.</title><link>https://www.infopathdev.com:443/forums/thread/76131.aspx</link><pubDate>Tue, 06 Mar 2012 17:38:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:76131</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/76131.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=76131</wfw:commentRss><description>&lt;p&gt;No ideas?&lt;/p&gt;</description></item><item><title>Re: Set one table's values from another table.</title><link>https://www.infopathdev.com:443/forums/thread/75829.aspx</link><pubDate>Wed, 29 Feb 2012 02:54:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75829</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75829.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=75829</wfw:commentRss><description>&lt;p&gt;Right, except I query the 2ds after the CopyTable, because . . . .&lt;/p&gt;
&lt;p&gt;I have 3 drop-downs for criteria that the user chooses before ordering items.&amp;nbsp; These 3 criteria are concatenated into a field in the main table after the CopyTable; after rows have been added to it.&amp;nbsp; The reason for this is, I may need to order the same item from 2ds for different criteria,&amp;nbsp; &lt;/p&gt;
&lt;p&gt;So user picks the criteria, orders the items in the 2ds, copies table, criteria field set in main data source table, 2ds table is flushed and ready to go for a new criteria.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;The criteria is also concatted into a field outside the table for filtering purposes.&amp;nbsp; So if criteria in main&amp;nbsp;table != criteria outside of table, it hides the rows.&amp;nbsp; If criteria in main table = criteria outside of table&amp;nbsp;AND main table item = 2ds item, it shades the 2ds rows, and (hopefully) sets the number that was ordered for this criteria.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Set one table's values from another table.</title><link>https://www.infopathdev.com:443/forums/thread/75827.aspx</link><pubDate>Wed, 29 Feb 2012 01:23:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75827</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75827.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=75827</wfw:commentRss><description>&lt;p&gt;Hello again,&lt;/p&gt;&lt;p&gt;Instead of hiding the quantity field, why not just disable it?&amp;nbsp; I think that would accomplish what you&amp;#39;re describing, or am I missing something?&lt;/p&gt;</description></item><item><title>Re: Set one table's values from another table.</title><link>https://www.infopathdev.com:443/forums/thread/75824.aspx</link><pubDate>Tue, 28 Feb 2012 23:39:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75824</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75824.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=75824</wfw:commentRss><description>&lt;p&gt;The 2ds table that is displayed in my form has items to order.&amp;nbsp; The user enters the quantity of the item they want in this 2ds table.&amp;nbsp; When they are ready to order these items, they click a button that CopyTable from the 2ds to my main data source table (let&amp;#39;s call it &amp;quot;Ordered Items&amp;quot;)&amp;nbsp; The CopyTable has a filter so it only copies rows with a quantity &amp;gt; 0.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I have a formatting rule on my secondary data source table that shades the rows that have already been selected (copied to the main data source).&amp;nbsp; For now, I am just hiding the quantity field in the 2ds of items that have already been selected, but I would rather show the quantity selected and disable this control.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;There are a couple of other factors involved, too, but I won&amp;#39;t get in to that yet.&amp;nbsp; &lt;/p&gt;</description></item><item><title>Re: Set one table's values from another table.</title><link>https://www.infopathdev.com:443/forums/thread/75821.aspx</link><pubDate>Tue, 28 Feb 2012 23:20:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75821</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75821.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=75821</wfw:commentRss><description>I&amp;#39;m having a very hard time understanding your scenario and what you&amp;#39;re trying to do.&amp;nbsp; Could you go into a bit more detail, perhaps give us a mental picture of the steps that would be taking place here?&amp;nbsp; When would you be triggering this rule action?</description></item><item><title>Re: Set one table's values from another table.</title><link>https://www.infopathdev.com:443/forums/thread/75815.aspx</link><pubDate>Tue, 28 Feb 2012 21:05:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75815</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75815.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=75815</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m using version 3.3.4220.29644&lt;/p&gt;</description></item><item><title>Re: Set one table's values from another table.</title><link>https://www.infopathdev.com:443/forums/thread/75813.aspx</link><pubDate>Tue, 28 Feb 2012 20:50:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75813</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75813.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=75813</wfw:commentRss><description>&lt;p&gt;Yeah - you can manually modify the rule in the manifest - here&amp;#39;s a blog &lt;a href="http://www.infopathdev.com/blogs/hilary/archive/2009/06/07/hack-manifest-xsf-to-filter-the-target-of-a-rule.aspx"&gt;post&lt;/a&gt; on that. What version of qRules are you using?&lt;/p&gt;</description></item><item><title>Re: Set one table's values from another table.</title><link>https://www.infopathdev.com:443/forums/thread/75805.aspx</link><pubDate>Tue, 28 Feb 2012 17:10:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75805</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75805.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=75805</wfw:commentRss><description>&lt;p&gt;I set it with a hard coded value, and it&amp;#39;s still only setting the first instance.&amp;nbsp; Is there another way besides SetValue that may work for this?&lt;/p&gt;</description></item><item><title>Re: Set one table's values from another table.</title><link>https://www.infopathdev.com:443/forums/thread/75799.aspx</link><pubDate>Tue, 28 Feb 2012 15:59:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75799</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75799.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=75799</wfw:commentRss><description>&lt;p&gt;This command should be iterative - that is, it should set all instances - mind you - it will set them all to whatever Need[Item=Item] is at the time the command is run. Anything in the error node? Can you test with a hardcoded value (like /value=Test) and see if all instances of Need get set where the GearId matches?&lt;/p&gt;</description></item><item><title>Set one table's values from another table.</title><link>https://www.infopathdev.com:443/forums/thread/75769.aspx</link><pubDate>Mon, 27 Feb 2012 21:40:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:75769</guid><dc:creator>shniggens</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/75769.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=75769</wfw:commentRss><description>&lt;p&gt;I have a 2ds table in my form.&amp;nbsp; I select items from this table with a quantity field, then copytable over to my main data source if quantity is greater than or equal to 1.&amp;nbsp; I have formatted the rows in my 2ds to be shaded if an item has already been selected.&amp;nbsp; I want to also show the quantity of these items in my 2ds based on what the quantity is in my main table (by comparing specific values).&amp;nbsp; &lt;/p&gt;
&lt;p&gt;I tried a SetValue command - concat(&amp;quot;SetValue /dsname=GearList /xpath=/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Need[../d:GearID=&amp;#39;&amp;quot;, GearID, &amp;quot;&amp;#39;] /value=&amp;quot;, Need[Item = Item])&lt;/p&gt;
&lt;p&gt;This works correctly for the first instance it finds only.&amp;nbsp; So, even though it sets it correctly, it only sets the first row that meets the criteria.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Is there another way of doing this?&lt;/p&gt;</description></item></channel></rss>