<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Data validation issue - Unique entries based on certain fields</title><link>https://www.infopathdev.com:443/forums/thread/84219.aspx</link><pubDate>Tue, 06 Nov 2012 23:13:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84219</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84219.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=84219</wfw:commentRss><description>&lt;p&gt;Hey there - glad the site has been helpful to you!&lt;/p&gt;&lt;p&gt;You are probably going to need a slightly fancier XPath that dear old InfoPath is generating for you with its UI - you basically have to check for a row in the secondary data source where all four fields are the same. I&amp;#39;ve attached a simple sample form - save it locally, right click and preview - type a lower-case a in the empty text box and, since a row exists in the 2DS where all the fields match, you&amp;#39;ll get a validation error.&lt;/p&gt;</description></item><item><title>Data validation issue - Unique entries based on certain fields</title><link>https://www.infopathdev.com:443/forums/thread/84212.aspx</link><pubDate>Tue, 06 Nov 2012 20:48:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:84212</guid><dc:creator>surly0k</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/84212.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=84212</wfw:commentRss><description>&lt;p&gt;First off, huge shoutout to Hillary Stoupa (the Stoupa-fier!)&amp;nbsp;&amp;amp; her fellow team members, you guys are the bomb and have saved my a** with this site. I consider myself pretty pro with it now, but have gotten stumped on what feels like something incredibly simple.&lt;/p&gt;
&lt;p&gt;I have a form in which people enter data about unique projects. Each project has three attributes. Region, Enabler and Product. The only time there cannot be a duplicate project name is when the region, enabler and project are the same. My plan was as to do the following Validation: (note: all main data source reference is in regards to data fields)&lt;/p&gt;
&lt;p&gt;IF enabler in the main data source is equal to enabler in the secondary data source&amp;nbsp; AND&lt;/p&gt;
&lt;p&gt;region main data source is equal to&amp;nbsp;region the secondary data source&amp;nbsp; AND&lt;/p&gt;
&lt;p&gt;Product&amp;nbsp;in the main data source is equal to&amp;nbsp;Product in the secondary data source&amp;nbsp; AND&lt;/p&gt;
&lt;p&gt;Project Name in the main datasource is equal to project name in the secondary datasource&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does not&amp;nbsp;seem to work right, any ideas?&lt;/p&gt;</description></item></channel></rss>