<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Eval/Concat with conditions</title><link>https://www.infopathdev.com:443/forums/thread/56978.aspx</link><pubDate>Thu, 15 Jul 2010 16:02:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56978</guid><dc:creator>utcwp01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56978.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=56978</wfw:commentRss><description>&lt;p&gt;I was trying to attach some screen shots of the form but it doesn&amp;#39;t seem to be working.&amp;nbsp; So lets see if I can give a little more detail.&amp;nbsp; I have a repating table (group name approval) that (for what we need in this case) looks like this:&lt;/p&gt;
&lt;p&gt;Routed To: (approvalName)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Routing Task Type: (routingTaskType)&lt;/p&gt;
&lt;p&gt;User 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PR Approval&lt;/p&gt;
&lt;p&gt;User 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Justification Approval&lt;/p&gt;
&lt;p&gt;User 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PR Approval&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From here I have the Approved By text box.&amp;nbsp; I need the formula to pull the values from that repeating table and place them in the text box.&amp;nbsp; The formula I put in my initial post&amp;nbsp;works great if you want it to gather all of them.&amp;nbsp; The issue is that I only want it to pull the ones that have a routingTaskType of &amp;quot;PR Approval&amp;quot;.&amp;nbsp; So for the example above, the text box wouls show User 1, User 3.&lt;/p&gt;
&lt;p&gt;I tried the suggestions of putting the filter on the group and the formula verified, but it did not populate the text field when I tested it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hopefully this makes a little more sense now.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Eval/Concat with conditions</title><link>https://www.infopathdev.com:443/forums/thread/56948.aspx</link><pubDate>Wed, 14 Jul 2010 23:53:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56948</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56948.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=56948</wfw:commentRss><description>&lt;p&gt;Have you tried putting the filter on the &lt;strong&gt;approval&lt;/strong&gt; field?&amp;nbsp; Whenever I try a double eval, I put the filter on that part of the formula, and haven&amp;#39;t had a problem with it yet.&lt;/p&gt;</description></item><item><title>Re: Eval/Concat with conditions</title><link>https://www.infopathdev.com:443/forums/thread/56945.aspx</link><pubDate>Wed, 14 Jul 2010 23:04:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56945</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56945.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=56945</wfw:commentRss><description>&lt;p&gt;I recall having this issue in IP 2007, but just tried in IP 2010, and didn&amp;#39;t have an issue. &lt;a href="http://www.qdabra.com/en/products/qRules.aspx"&gt;qRules&lt;/a&gt; has a command that allows this, if you want to give it a try (as well as a lot of other cool commands). &lt;/p&gt;
&lt;p&gt;Here is the issue, I think -- when you write the formula, no instance of the approval group exist that match the filter condition. Is the default value of approvalName blank? Try adding the filter to approval that approvalName is blank. The formula doesn&amp;#39;t error for me in IP 2007 as long as there is a node that matches the condition in the data source. As far as work arounds.... You can add multiple instances of the group to the form and set defaults in the approvalName field for each of the filters you want, but then what will you do when the user opens the form to get rid of the group? There isn&amp;#39;t anything built in to InfoPath that will delete an instance of a group.....&lt;/p&gt;</description></item><item><title>Eval/Concat with conditions</title><link>https://www.infopathdev.com:443/forums/thread/56927.aspx</link><pubDate>Wed, 14 Jul 2010 16:04:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:56927</guid><dc:creator>utcwp01</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/56927.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=56927</wfw:commentRss><description>&lt;p&gt;I am trying to set an&amp;nbsp;approvedBy text field with values of a repeating table field called approvalName.&amp;nbsp; I was able to do this perfectly with the following formula:&lt;/p&gt;
&lt;p&gt;eval(eval(approval, &amp;#39;concat(my:approvalName, &amp;quot;, &amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;) &lt;/p&gt;
&lt;p&gt;&amp;nbsp;My issue is that there are names in the approvalName repeating table field that are part of the approval process but I do not want them showing up in the approvedBy text field.&amp;nbsp; I have tried using the formula listed and setting a filter on the approvalName field so it did not display an approval name equal to a certain name.&amp;nbsp; But each time I get a formula error.&amp;nbsp; Is there are way &amp;quot;outside of code&amp;quot; to accomplish the pulling of the repeating table field on a conditional basis?&lt;/p&gt;</description></item></channel></rss>