<?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: unique value in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/19137.aspx</link><pubDate>Tue, 17 Apr 2007 06:16:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:19137</guid><dc:creator>thinking_spot</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/19137.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=19137</wfw:commentRss><description>&lt;p&gt;Hi Matt,&lt;/p&gt;&lt;p&gt;first of all thanks for answering. I tried your solution but it was not really working for me. So I tried a other solution. I add a attribute to my second column (the column B, which is&amp;nbsp;the repeating table) and give this attribute the combination of column A and column B. And every time when&amp;nbsp;I enter a new value in column B I make a validation check for the attribute like this&lt;/p&gt;&lt;p&gt;&amp;quot;../preceding::my:fieldB/@my:attributeB&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;It works good. But thanks a lot for your solution, because it gives me a hint that I can try it with the combination of both fields in a new field.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: unique value in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/4408.aspx</link><pubDate>Fri, 13 Apr 2007 02:16:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4408</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4408.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=4408</wfw:commentRss><description>Hi thinking_spot and welcome to the forums! &lt;br /&gt;&lt;br /&gt;This does seem like a rather complicated situation. I think it would be easier here to do a string compare. Try this:&lt;br /&gt;&lt;br /&gt;Take the tutorial from this post:&lt;a target="_blank" href=http://blogs.msdn.com/infopath/archive/2006/04/05/569338.aspx&gt;http://blogs.msdn.com/infopath/archive/2006/04/05/569338.aspx&lt;/a&gt; except you want it to string together all of the values of the B repeating table.  Then concatenate this with A and compare to siblings. Your condition will look something like this:&lt;br /&gt;&lt;br /&gt;xdMath:Eval(xdMath:Eval(my:group3/my:group4, 'concat(my:field3, ";")'), "..") != xdMath:Eval(xdMath:Eval(../descendant-or-self::node()/my:group2[my:field1 = current()/my:field1]/my:group3/my:group4, 'concat(my:field3, ";")'), "..")&lt;br /&gt;&lt;br /&gt;.........&lt;br /&gt;&lt;br /&gt;Well, I got really close to finishing this, but I've spent too much time as it is trying to figure it out.  Hopefully this will springboard you into the answer! Please reply back when you figure it out so I can see the whole thing!</description></item><item><title>unique value in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/1959.aspx</link><pubDate>Tue, 10 Apr 2007 06:41:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1959</guid><dc:creator>thinking_spot</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1959.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1959</wfw:commentRss><description>Hi everybody,&lt;br /&gt;&lt;br /&gt;I tried to find a solution for my problem, but didn't found one in the forum. So that's my problem:&lt;br /&gt;&lt;br /&gt;I have a repeating table with two fields A and B. A is a normal textfield and B is another repaeting table. I want to have check if every row has unique values (combination of A and B), but A can have more than one B in one row. So it's possible to add:&lt;br /&gt;&lt;br /&gt;1. Row: A1 - B1&lt;br /&gt;2. Row: A2 - B2, B3&lt;br /&gt;3. Row: A1 - B2&lt;br /&gt;&lt;br /&gt;I try to check if there are unique values with preceding and following, like&lt;br /&gt;&lt;br /&gt;"fieldA isEqual preceding::my:table/my:fieldA AND&lt;br /&gt; fieldB isEqual preceding::my:table/my:fieldB"&lt;br /&gt;&lt;br /&gt;It's working with preceding-sibling and following-sibling to check if the repeating table B has already define a value in one row (see 2. Row). &lt;br /&gt;Infopath shows me an error in 3. Row (because A1 was already used in 1. Row and B2 was already used in 2. Row), but I want to check if the combination of A and B was already defined (so no error in 3.Row). &lt;br /&gt;Is my validation check wrong? &lt;br /&gt;I hope I describe the problem understandable and someone can help me.</description></item></channel></rss>