Randomizer - InfoPath Dev Sign in | Join | Help in General InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » General » Randomizer Randomizer Last post 10-01-2020 04:33 AM by erzon. 22 replies. Page 2 of 2 (23 items) < Previous 1 2 Sort Posts: Oldest to newest Newest to oldest Previous Next 09-30-2020 02:52 PM In reply to Hilary Stoupa Joined on 06-20-2008 Posts 13,297 Re: Randomizer Mark as Not AnswerMark as Answer... Reply Contact So - the issue is that by default, with XPath, you are going to get back the first "non-match" every time. Is that going to be acceptable? Hilary Stoupa 09-30-2020 02:57 PM In reply to erzon Joined on 08-02-2019 Posts 39 Re: Randomizer Mark as Not AnswerMark as Answer... Reply Contact Hilary Stoupa:So - the issue is that by default, with XPath, you are going to get back the first "non-match" every time. Is that going to be acceptable? yes correct as long its not match whatever rows it is that would be ok 09-30-2020 03:24 PM In reply to Hilary Stoupa Joined on 06-20-2008 Posts 13,297 Re: Randomizer Sample2.xsn Mark as Not AnswerMark as Answer... Reply Contact Attaching a sample. Hilary Stoupa 09-30-2020 03:38 PM In reply to erzon Joined on 08-02-2019 Posts 39 Re: Randomizer Mark as Not AnswerMark as Answer... Reply Contact got your sample but how can I modify this to my datasource? using "random date" and "randomizer"? 09-30-2020 03:43 PM In reply to Hilary Stoupa Joined on 06-20-2008 Posts 13,297 Re: Randomizer Mark as Not AnswerMark as Answer... Reply Contact You just have to use the same XPath but with your fields? Maybe: xdXDocument:GetDOM("random date")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:Loan_x0020_number[not(. = xdXDocument:GetDOM("Randomizer")/dfs:myFields/dfs:dataFields/d:SharePointListItem_RW/d:LOans)] Hilary Stoupa 09-30-2020 04:11 PM In reply to erzon Joined on 08-02-2019 Posts 39 Re: Randomizer Mark as Not AnswerMark as Answer... Reply Contact thank you so much works like a charm :). I want to eat your brain lol you're so good with this thank you 09-30-2020 05:03 PM In reply to Hilary Stoupa Joined on 06-20-2008 Posts 13,297 Re: Randomizer Mark as Not AnswerMark as Answer... Reply Contact Oh wow, I'm still laughing over that reply (and I REALLY NEEDED to laugh today) so thanks! Glad it is working :) Hilary Stoupa 10-01-2020 04:33 AM In reply to erzon Joined on 08-02-2019 Posts 39 Re: Randomizer Mark as Not AnswerMark as Answer... Reply Contact thanks at least I made you laugh in any way :) thanks again until next time Page 2 of 2 (23 items) < Previous 1 2 Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Hilary Stoupa:So - the issue is that by default, with XPath, you are going to get back the first "non-match" every time. Is that going to be acceptable?