<?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: problem in using Eval Function</title><link>https://www.infopathdev.com:443/forums/thread/125187.aspx</link><pubDate>Mon, 28 Nov 2022 15:47:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125187</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125187.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=125187</wfw:commentRss><description>As long as you are getting the data you need, sounds fine to me.</description></item><item><title>Re: problem in using Eval Function</title><link>https://www.infopathdev.com:443/forums/thread/125186.aspx</link><pubDate>Thu, 24 Nov 2022 20:24:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125186</guid><dc:creator>Masoud</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125186.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=125186</wfw:commentRss><description>Hi Hillary

Regarding my previous reply, and my problem in using eval function when there is a person/group inside another repeating table. I try to create a new column (text box field) in my SharePoint list and copy data from people/group to that (by workflow). now I use the Eval function you had sent to me, and it works. I would like to know this strategy for by passing of working with people/group field is, ok?</description></item><item><title>Re: problem in using Eval Function</title><link>https://www.infopathdev.com:443/forums/thread/125185.aspx</link><pubDate>Wed, 23 Nov 2022 20:44:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125185</guid><dc:creator>Masoud</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125185.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=125185</wfw:commentRss><description>Thanks Hilary

According to the attachment I have used below string for concate Display Name, but it does not work, I have checked with other fields in Repeating Table, and it was working. maybe because person/group field is a repeating table in the main repeating table, but I do not know how to solve.

xdMath:Eval(xdMath:Eval(xdXDocument:GetDOM(&amp;quot;LeadManagers&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[contains(xdXDocument:get-DOM()/my:myFields/my:DocInfo/my:Matrix, d:Discipline2)], &amp;#39;concat(d:GrantAccess/pc:Person/pc:DisplayName, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)</description></item><item><title>Re: problem in using Eval Function</title><link>https://www.infopathdev.com:443/forums/thread/125182.aspx</link><pubDate>Mon, 21 Nov 2022 15:57:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125182</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125182.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=125182</wfw:commentRss><description>&lt;p&gt;I think this formula would be valid and may be what you are trying to achieve:&lt;/p&gt;
&lt;p&gt;substring(xdMath:Eval(xdMath:Eval(xdXDocument:GetDOM(&amp;quot;LeadManagers&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[contains(xdXDocument:get-DOM()/my:myFields/my:DocInfo/my:Matrix, d:Discipline2)], &amp;#39;concat(d:GrantAccess/pc:Person/pc:AccountId, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;), 1, string-length(xdMath:Eval(xdMath:Eval(xdXDocument:GetDOM(&amp;quot;LeadManagers&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW[contains(xdXDocument:get-DOM()/my:myFields/my:DocInfo/my:Matrix, d:Discipline2)], &amp;#39;concat(d:GrantAccess/pc:Person/pc:AccountId, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)) - 1)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://web.archive.org/web/20150110023940/http://blogs.msdn.com/b/infopath/archive/2006/04/05/569338.aspx"&gt;https://web.archive.org/web/20150110023940/http://blogs.msdn.com/b/infopath/archive/2006/04/05/569338.aspx&lt;/a&gt;&amp;nbsp;is a web archive to the original InfoPath team explaining how double eval works - hopefully that will help clarify.&lt;/p&gt;</description></item><item><title>problem in using Eval Function</title><link>https://www.infopathdev.com:443/forums/thread/125180.aspx</link><pubDate>Mon, 21 Nov 2022 05:55:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125180</guid><dc:creator>Masoud</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125180.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=125180</wfw:commentRss><description>Hello

According to my previous question (https://www.infopathdev.com/forums/t/40434.aspx) about (converting separate string fields to separated emails in a text box field)
and very good solution I have received I have problem in using Eval function in my form (Attached). when I use below code in field1 of my form: 

&amp;quot;substring(eval(eval(SharePointListItem_RW[contains(Matrix, Discipline2)], &amp;#39;concat(xdXDocument:GetDOM(&amp;quot;LeadManagers&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:GrantAccess/pc:Person/pc:AccountId, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;), 1, string-length(eval(eval(SharePointListItem_RW[contains(Matrix, Discipline2)], &amp;#39;concat(xdXDocument:GetDOM(&amp;quot;LeadManagers&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:GrantAccess/pc:Person/pc:AccountId, &amp;quot;;&amp;quot;)&amp;#39;), &amp;quot;..&amp;quot;)) - 1)&amp;quot;


I got Error:

&amp;quot;xdXDocument:GetDOM(&amp;quot;LeadManagers&amp;quot;)/dfs:myFields/dfs:dataFields/my:Matrix&amp;quot; does not point to a valid location path of a field or group.&amp;quot;

actually, I do not understand completely Eval Function, for example I know it is for aggregation records of a repeating table to one text box filed but I do not know 

1- why i have to use two eval function

2- what is usage &amp;quot;..&amp;quot; and when I have to change that. 

very appreciate if you can also explain about eval function.</description></item></channel></rss>