<?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: Conditional Expression Question</title><link>https://www.infopathdev.com:443/forums/thread/39989.aspx</link><pubDate>Wed, 25 Mar 2009 16:34:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39989</guid><dc:creator>zxkuqyb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39989.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=39989</wfw:commentRss><description>&lt;p&gt;With a slight adjustment to your Expression Statement by removing the /my: at the beginning, it worked...so I thought.&lt;/p&gt;
&lt;p&gt;What seems to be happening is that&amp;nbsp;if my Name&amp;nbsp;is in the &amp;quot;BrandManager&amp;quot; Field on the&amp;nbsp;FIRST&amp;nbsp;row of the repeating table,&amp;nbsp;the&amp;nbsp;Conditional Expression&amp;nbsp;that&amp;#39;s tied to the Radio Button for that Row seems to be applying the control to the entire repeating table.&amp;nbsp; So, it appeared to work, when I tested it.&amp;nbsp;&amp;nbsp;However,&amp;nbsp;once&amp;nbsp;a different user opened the form and their name was on Row 2 in the &amp;quot;BrandManager&amp;quot; Field, they were not able to interact with the Radio Button on THEIR Row (Row #2), even though their name was in the &amp;quot;Current_User&amp;quot; Field (This field is updated&amp;nbsp;each time during the&amp;nbsp;&amp;#39;On Open&amp;quot; event.&amp;nbsp;&amp;nbsp;Each row on the repeating table should be evaluating the &amp;quot;Current_User&amp;quot; Field to each Repeating Row Uniquely, and it&amp;nbsp;doesn&amp;#39;t appear to be happening with the Conditional Expression below.&amp;nbsp; Thoughts?&lt;/p&gt;
&lt;p&gt;Expression Statement:&amp;nbsp; not(my:BrandManager = /my:Fields/my:Misc/my:Current_User)&lt;/p&gt;
&lt;p&gt;Thank You,&lt;/p&gt;
&lt;p&gt;Tom&lt;/p&gt;</description></item><item><title>Re: Conditional Expression Question</title><link>https://www.infopathdev.com:443/forums/thread/39984.aspx</link><pubDate>Wed, 25 Mar 2009 16:09:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39984</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39984.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=39984</wfw:commentRss><description>&lt;p&gt;I think you want something more like:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;not(my:BrandManager = /my:myFields/my:Misc/my:Current_User)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;or perhaps&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;not(../my:BrandManager = /my:myFields/my:Misc/my:Current_User)&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;If you want to actually hide the radio button as opposed to disabling it, you can place it inside a small &lt;em&gt;Section&lt;/em&gt; control bound to the same node as the radio button or the repeating group.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Conditional Expression Question</title><link>https://www.infopathdev.com:443/forums/thread/39982.aspx</link><pubDate>Wed, 25 Mar 2009 15:59:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39982</guid><dc:creator>zxkuqyb</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39982.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=39982</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m hoping someone can help me on something that I&amp;#39;m struggling with regarding how I would&amp;nbsp;do the following:&lt;/p&gt;
&lt;p&gt;1.&amp;nbsp; Evaluate a&amp;nbsp;field called &amp;quot;BrandManager&amp;quot;&amp;nbsp;that sits on a repeating table (The BrandManager names will vary across the repeating rows)...&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp; Compare the previous &amp;quot;BrandManager&amp;quot; field to&amp;nbsp;the &amp;quot;Current_User&amp;quot; field (A Non-Repeating Field on the form and is the User who&amp;nbsp;has opened the form which I&amp;nbsp;set using&amp;nbsp;the&amp;nbsp;GetUserProfileByName Web Service)...&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp; Disable a Radio Button on the Repeating Row where the &amp;quot;BrandManager&amp;quot; field on that specific row DOES NOT EQUAL&amp;nbsp;the &amp;quot;Current_User&amp;quot;...&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;examples on this site are awesome and there&amp;#39;s so many talented people out here, I&amp;#39;m thinking someone might have some insight.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;When I take and modify one of the examples I found:&lt;/p&gt;
&lt;p&gt;&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;not(/my:Fields/my:BMApproval_Section/my:BMDetail_Group/my:BrandManager[. = /my:Fields/my:Misc/my:Current_User])&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It appears as if it doesn&amp;#39;t discriminate accross each Repating Row, rather, the entire table.&amp;nbsp; How would I alter the above statement to evaluate the &amp;quot;BrandManager&amp;quot; against the &amp;quot;CurrentUser&amp;quot; to hide the Radio Button Control if they don&amp;#39;t equal each other?&lt;/p&gt;
&lt;p&gt;Many Thanks!!!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Tom Barrett&lt;/p&gt;</description></item></channel></rss>