<?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: Validation Against A Single Instance of Data in a Repeating Table?</title><link>https://www.infopathdev.com:443/forums/thread/81830.aspx</link><pubDate>Mon, 20 Aug 2012 22:08:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81830</guid><dc:creator>nkstrou</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81830.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81830</wfw:commentRss><description>&lt;p&gt;No, row # is not relevant and won&amp;#39;t help, and&amp;nbsp;the # of rows&amp;nbsp;in tables O, P, &amp;amp; Q&amp;nbsp;won&amp;#39;t be consistent in the majority of cases.&amp;nbsp; The common values are the 4 combobox values.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;Is that clearer?&lt;/p&gt;
&lt;p&gt;nkstrou&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Validation Against A Single Instance of Data in a Repeating Table?</title><link>https://www.infopathdev.com:443/forums/thread/81820.aspx</link><pubDate>Mon, 20 Aug 2012 17:09:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81820</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81820.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81820</wfw:commentRss><description>So to be clear, do you want to validate the table Q rows against the table P rows based on position (i.e. match row 1 against row 1, etc.), or based on some other common value?&amp;nbsp; Will tables O, P, and Q always have the same number of rows?</description></item><item><title>Validation Against A Single Instance of Data in a Repeating Table?</title><link>https://www.infopathdev.com:443/forums/thread/81787.aspx</link><pubDate>Sat, 18 Aug 2012 00:20:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81787</guid><dc:creator>nkstrou</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81787.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=81787</wfw:commentRss><description>&lt;p&gt;Hi InfoPathers:&lt;/p&gt;
&lt;p&gt;My InfoPath 2010 filler form contains 2 repeating tables that I&amp;#39;ll call tables O and P.&amp;nbsp; Table O has a series of 3 cascading comboboxes, and table P has a series of 4 cascading comboboxes.&amp;nbsp; Any entry in either table O or table P must have at least the first two comboboxes entered.&amp;nbsp; I also have a set of 3 radiobuttons in each table called New, Existing, and Deletion.&lt;/p&gt;
&lt;p&gt;My form&amp;nbsp;contains an additional&amp;nbsp;repeating&amp;nbsp;table (which I&amp;#39;ll called Table&amp;nbsp;Q)&amp;nbsp;that&amp;nbsp;has&amp;nbsp;2 sets of cascading comboboxes that look up against the data entered in the comboboxes&amp;nbsp;from&amp;nbsp;tables O &amp;amp; P.&amp;nbsp;&amp;nbsp;Table Q&amp;nbsp;additionally has a set of 3 radiobuttons called New, Existing, and Deletion.&lt;/p&gt;
&lt;p&gt;I need to do some data validation whereby if a row in table Q&amp;nbsp;shows as New or Existing, and the data that was&amp;nbsp;entered in that row&amp;nbsp;from Table O or P was a Deletion, then an error is triggered.&amp;nbsp; In other words, if an item from Table O or P is a Deletion, then the only valid case in table Q&amp;nbsp;should be if the&amp;nbsp;row&amp;nbsp;that&amp;nbsp;looks up that Deletion&amp;nbsp;item&amp;nbsp;is also marked as a Deletion.&amp;nbsp; Make sense?&lt;/p&gt;
&lt;p&gt;On table Q, I have a validation rule on&amp;nbsp;Tier4 of the cascading combos (called cboTblQ-C4)&amp;nbsp;for the lookup against data from Table P for the following condition:&amp;nbsp; optTblQ-XstNewDel&amp;nbsp;not equal to&amp;nbsp;&amp;quot;Deletion&amp;quot; AND cboTblQ-PC1 = cboTblP-C1 AND cboTblQ-PC2 = cboTblP-C2 AND cboTblQ-PC3 = cboTblP-C3 and cboTblQ-C4=cboTblP-C4 and optTblP-XstNewDel = &amp;quot;Deletion&amp;quot;&lt;/p&gt;
&lt;p&gt;If I enter&amp;nbsp;2 line items&amp;nbsp;in Table P&amp;nbsp;where one is a&amp;nbsp;Deletion and the other Existing, then create a row in Table Q that is Existing,&amp;nbsp;and I&amp;nbsp;pick the Existing entry from table P (which should be a valid case),&amp;nbsp;the&amp;nbsp;validation error turns on.&amp;nbsp; In table P, I entered the Deletion item 1st and the Existing item 2nd, so to test whether it&amp;nbsp;is matching on the first line item, I then entered the Existing item first and the Deletion item second and got the same results. Seems like it&amp;#39;s matching against any row in table P&amp;nbsp;that matches my conditions instead of against the row that matches the conditions I entered in table Q. I thought about adding a condition to the&amp;nbsp;filters for my&amp;nbsp;combobox cascades for optTblP-XstNewDel = optTblQ-XstNewDel, but that&amp;#39;s too restrictive - I only need&amp;nbsp;that to apply&amp;nbsp;if optTblP-XstNewDel&amp;nbsp;= Deletion.&lt;/p&gt;
&lt;p&gt;Is there a way to do what I&amp;#39;m trying to do without custom code?&amp;nbsp; Or alternately, to conditionally apply different filters to my cascading combobox lookups?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks,&lt;/p&gt;
&lt;p&gt;nkstrou&lt;/p&gt;</description></item></channel></rss>