<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Namespace error when using double eval</title><link>https://www.infopathdev.com:443/forums/thread/58458.aspx</link><pubDate>Mon, 30 Aug 2010 14:14:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58458</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58458.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=58458</wfw:commentRss><description>&lt;p&gt;Your formula doesn&amp;#39;t really make sense the way it is. How&amp;#39;s this?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;xdMath:Eval(xdMath:Eval(xdXDocument:GetDOM(&amp;quot;DSE Security Levels&amp;quot;)/dfs:myFields/dfs:dataFields/dfs:DSE_Security_Levels[@Security_Level = 1], &amp;#39;concat(@User_Name,&amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/em&gt; &lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Namespace error when using double eval</title><link>https://www.infopathdev.com:443/forums/thread/58364.aspx</link><pubDate>Thu, 26 Aug 2010 10:55:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:58364</guid><dc:creator>JoanneWellings</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/58364.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=58364</wfw:commentRss><description>&lt;p&gt;Hi All - &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have a repeating table made from a data connection to a sharepoint list:&lt;/p&gt;
&lt;p&gt;/dfs:myFields&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfs:dataFields&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dfs:DSE_Security_Levels&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; @User_Name&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; @Centre_or_Department&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; @Region&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; @Security_Level&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; @Status&lt;/p&gt;
&lt;p&gt;I am trying to create a field which concatenates the contents of the User_Name field above. I&amp;#39;ve done this on different forms and lists and it&amp;#39;s worked fine. The formula I am using is:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;eval(eval(DSE_Security_Levels[@Security_Level = 1],&amp;#39;concat(@User_Name,&amp;quot;;&amp;quot;)&amp;#39;),&amp;quot;..&amp;quot;)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve used the field picker to put the data connection name and filter in. When I verify the formula, i get:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;msxml5.dll&lt;br /&gt;Reference to undeclared namespace prefix: &amp;#39;dfs&amp;#39;.&lt;br /&gt;Error occurred during a call to property or method &amp;#39;Eval&amp;#39;.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;and the formula changes to:&lt;/p&gt;&lt;em&gt;eval(eval(DSE_Security_Levels[@Security_Level = 1], &amp;#39;concat(xdXDocument:GetDOM(&amp;quot;DSE Security Levels&amp;quot;)/dfs:myFields/dfs:dataFields/dfs:DSE_Security_Levels/@User_Name,&amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/em&gt; 
&lt;p&gt;The full XPath of the formula&amp;nbsp;is:&lt;/p&gt;&lt;em&gt;xdMath:Eval(xdMath:Eval(xdXDocument:GetDOM(&amp;quot;DSE Security Levels&amp;quot;)/dfs:myFields/dfs:dataFields/dfs:DSE_Security_Levels[@Security_Level = 1], &amp;#39;concat(xdXDocument:GetDOM(&amp;quot;DSE Security Levels&amp;quot;)/dfs:myFields/dfs:dataFields/dfs:DSE_Security_Levels/@User_Name,&amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)&lt;/em&gt; 
&lt;p&gt;It looks like the problem is with the User_Name field, but I can&amp;#39;t see what it is. I&amp;#39;ve tried testing it by changing the data connection to another list which has worked before, but I still get this error. &lt;/p&gt;
&lt;p&gt;Does anyone have any ideas please?&lt;/p&gt;
&lt;p&gt;TIA&lt;/p&gt;</description></item></channel></rss>