<?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: Need help on understanding formula syntax in Infopath 2010 rule</title><link>https://www.infopathdev.com:443/forums/thread/93572.aspx</link><pubDate>Wed, 09 Oct 2013 15:49:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93572</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93572.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=93572</wfw:commentRss><description>&lt;p&gt;This is getting the @Approver from the secondary data source where in the same row, the @Account field has the same value as another field named &amp;quot;CostCenter&amp;quot; AND in the same row, the @step field is equal to 1.&lt;/p&gt;&lt;p&gt;Click the edit XPath box in the formula editor to display the full XPath and paste that in a reply and I can tell you more about the formula if needed. &lt;/p&gt;&lt;p&gt;XPath is fun - here is one place to start learning more: &lt;a href="http://zvon.org/xxl/XPathTutorial/Output/examples.html"&gt;http://zvon.org/xxl/XPathTutorial/Output/examples.html&lt;/a&gt;&amp;nbsp;(for some reason the color coding on these examples helps me visualize the outcome better).&lt;/p&gt;</description></item><item><title>Need help on understanding formula syntax in Infopath 2010 rule</title><link>https://www.infopathdev.com:443/forums/thread/93567.aspx</link><pubDate>Wed, 09 Oct 2013 14:56:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93567</guid><dc:creator>ntwomey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93567.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=93567</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve inherited an Infopath form and I&amp;#39;m having trouble understanding a rule that the developer put in place.&amp;nbsp; The rule is set up on a drop down list box field so that when a user chooses a cost center, the rule sets an Approver value for that cost center.&amp;nbsp; There is a secondary data source set up to look into the Approver list, but I&amp;#39;m just not clear on what this means.&amp;nbsp; I&amp;#39;ve googled this and haven&amp;#39;t been able to find anything, so any help or pointers to places where this syntax is described would be much appreciated.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Here&amp;#39;s the statement: &lt;/p&gt;
&lt;p&gt;@Approver[@Account = CostCenter and @step = 1]&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item></channel></rss>