<?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: Randomizer</title><link>https://www.infopathdev.com:443/forums/thread/123515.aspx</link><pubDate>Thu, 01 Oct 2020 11:33:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123515</guid><dc:creator>erzon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123515.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123515</wfw:commentRss><description>thanks at least I made you laugh in any way :) thanks again until next time</description></item><item><title>Re: Randomizer</title><link>https://www.infopathdev.com:443/forums/thread/123514.aspx</link><pubDate>Thu, 01 Oct 2020 00:03:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123514</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123514.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123514</wfw:commentRss><description>Oh wow, I&amp;#39;m still laughing over that reply (and I REALLY NEEDED to laugh today) so thanks! Glad it is working :)</description></item><item><title>Re: Randomizer</title><link>https://www.infopathdev.com:443/forums/thread/123513.aspx</link><pubDate>Wed, 30 Sep 2020 23:11:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123513</guid><dc:creator>erzon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123513.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123513</wfw:commentRss><description>thank you so much works like a charm :). I want to eat your brain lol you&amp;#39;re so good with this thank you</description></item><item><title>Re: Randomizer</title><link>https://www.infopathdev.com:443/forums/thread/123512.aspx</link><pubDate>Wed, 30 Sep 2020 22:43:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123512</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123512.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123512</wfw:commentRss><description>You just have to use the same XPath but with your fields? Maybe: xdXDocument:GetDOM(&amp;quot;random date&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Loan_x0020_number[not(. = xdXDocument:GetDOM(&amp;quot;Randomizer&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:LOans)]</description></item><item><title>Re: Randomizer</title><link>https://www.infopathdev.com:443/forums/thread/123511.aspx</link><pubDate>Wed, 30 Sep 2020 22:38:40 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123511</guid><dc:creator>erzon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123511.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123511</wfw:commentRss><description>got your sample but how can I modify this to my datasource? using &amp;quot;random date&amp;quot; and &amp;quot;randomizer&amp;quot;?</description></item><item><title>Re: Randomizer</title><link>https://www.infopathdev.com:443/forums/thread/123510.aspx</link><pubDate>Wed, 30 Sep 2020 22:24:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123510</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123510.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123510</wfw:commentRss><description>Attaching a sample.</description></item><item><title>Re: Randomizer</title><link>https://www.infopathdev.com:443/forums/thread/123509.aspx</link><pubDate>Wed, 30 Sep 2020 21:57:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123509</guid><dc:creator>erzon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123509.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123509</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Hilary Stoupa:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;So - the issue is that by default, with XPath, you are going to get back the first &amp;quot;non-match&amp;quot; every time. Is that going to be acceptable?&lt;/div&gt;&lt;/BLOCKQUOTE&gt;

yes correct as long its not match whatever rows it is that would be ok</description></item><item><title>Re: Randomizer</title><link>https://www.infopathdev.com:443/forums/thread/123508.aspx</link><pubDate>Wed, 30 Sep 2020 21:52:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123508</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123508.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123508</wfw:commentRss><description>So - the issue is that by default, with XPath, you are going to get back the first &amp;quot;non-match&amp;quot; every time. Is that going to be acceptable?</description></item><item><title>Re: Randomizer</title><link>https://www.infopathdev.com:443/forums/thread/123507.aspx</link><pubDate>Wed, 30 Sep 2020 20:50:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123507</guid><dc:creator>erzon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123507.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123507</wfw:commentRss><description>&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Hilary Stoupa:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;Both of the data sources have multiple rows? &amp;quot;random dates&amp;quot; and &amp;quot;Randomizer&amp;quot;? The XPath I gave you returns true if there are no matches between the lists, and false if there are matches. I&amp;#39;m sorry I&amp;#39;m having such a hard time understanding what you are trying to do here. Can you try to describe it a bit more? Like: One list has values A,B,C,D. The other list has values E,B,D,A. I want to get back &amp;quot;C&amp;quot; from the first list because it doesn&amp;#39;t exist in the second list. Or whatever the actual scenario is.&lt;/div&gt;&lt;/BLOCKQUOTE&gt;

Yes the two data source have multiple rows. Your scenario actually is correct. If the &amp;quot;random dates&amp;quot; have A,B,C,D,E,F,G,H coupon and the &amp;quot;randomizer&amp;quot; have A,B,D,E,F coupon already and the only remaining is C,G and H then the field can either pick C or G or H</description></item><item><title>Re: Randomizer</title><link>https://www.infopathdev.com:443/forums/thread/123506.aspx</link><pubDate>Wed, 30 Sep 2020 20:33:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123506</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123506.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123506</wfw:commentRss><description>Both of the data sources have multiple rows? &amp;quot;random dates&amp;quot; and &amp;quot;Randomizer&amp;quot;? The XPath I gave you returns true if there are no matches between the lists, and false if there are matches. I&amp;#39;m sorry I&amp;#39;m having such a hard time understanding what you are trying to do here. Can you try to describe it a bit more? Like: One list has values A,B,C,D. The other list has values E,B,D,A. I want to get back &amp;quot;C&amp;quot; from the first list because it doesn&amp;#39;t exist in the second list. Or whatever the actual scenario is.</description></item><item><title>Re: Randomizer</title><link>https://www.infopathdev.com:443/forums/thread/123505.aspx</link><pubDate>Wed, 30 Sep 2020 20:20:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123505</guid><dc:creator>erzon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123505.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123505</wfw:commentRss><description>yes there are multiple rows in the coupon that is why I want the logic will scan all the rows and check if that coupon exist in main list is that possible?</description></item><item><title>Re: Randomizer</title><link>https://www.infopathdev.com:443/forums/thread/123504.aspx</link><pubDate>Wed, 30 Sep 2020 20:08:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123504</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123504.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123504</wfw:commentRss><description>Sorry, yeah, that is just going to return true and false. So - are there multiple rows in both data sources? Because if so, you&amp;#39;ll always get the first coupon code from the random date data source....</description></item><item><title>Re: Randomizer</title><link>https://www.infopathdev.com:443/forums/thread/123503.aspx</link><pubDate>Wed, 30 Sep 2020 20:00:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123503</guid><dc:creator>erzon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123503.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123503</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I tried your xpath and the result shows &amp;quot;false&amp;quot; instead of the coupon code&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Randomizer</title><link>https://www.infopathdev.com:443/forums/thread/123502.aspx</link><pubDate>Wed, 30 Sep 2020 19:54:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123502</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123502.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123502</wfw:commentRss><description>&lt;p&gt;If you want to see if there is no match in &amp;quot;random date&amp;quot; based on Loan_x0020_number equaling LOans, I&amp;#39;d try:&lt;/p&gt;&lt;p&gt; not(xdXDocument:GetDOM(&amp;quot;random date&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Loan_x0020_number[. = xdXDocument:GetDOM(&amp;quot;Randomizer&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:LOans])&lt;/p&gt;</description></item><item><title>Re: Randomizer</title><link>https://www.infopathdev.com:443/forums/thread/123497.aspx</link><pubDate>Wed, 30 Sep 2020 15:12:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:123497</guid><dc:creator>erzon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/123497.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=123497</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Sorry but our network prohibit us to upload anything but your understanding is correct. I just need to check if the coupon is already exist from other data source list &lt;/p&gt;&lt;p&gt;&amp;nbsp;my logic here is like this&amp;nbsp; xdXDocument:GetDOM(&amp;quot;random date&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Loan_x0020_number[xdXDocument:GetDOM(&amp;quot;Randomizer&amp;quot;)/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:LOans != .]&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;the results of this is always showing same coupon code even it exist in the other data source &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>