<?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: Filtering a Repeating Table via another Repeating Field</title><link>https://www.infopathdev.com:443/forums/thread/121332.aspx</link><pubDate>Wed, 24 Jul 2019 15:51:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121332</guid><dc:creator>dlafbsci</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121332.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=121332</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks for your response as always :)&amp;nbsp;&lt;/p&gt;&lt;p&gt;I believe I do need to use contains, as the data I&amp;#39;m running my filters on are concatenated strings that may be made of any words in any order, or even&amp;nbsp;short paragraphs. My data might say &amp;quot;Dave, Jim, Sarah&amp;quot; or &amp;quot;Sarah, Jim, Dave&amp;quot; and then I&amp;#39;d run a filter rule that states if Data does not contain user entry&amp;nbsp;&amp;quot;Dave&amp;quot;, then hide. Then perhaps I want to further filter, so I insert a filter item, and further filter out &amp;quot;Jim&amp;quot;.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;To use your example &amp;quot;contains&amp;quot; would also give the freedom to type in &amp;quot;america&amp;quot; and filter out both &amp;quot;americanum&amp;quot; and &amp;quot;americana&amp;quot;&lt;/p&gt;&lt;p&gt;In your example simply changing the rule from equals to contains causes the rule to only apply to the first filter field, which has been my experience so far. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;My solution thus far has just been to manually place five separate textbox filters on my form and run all separate &amp;quot;does not contain&amp;quot; filter rules on my data set. Ideally though I would like it to be a repeating table so I can repeat the filtering ad infinitum and not limit my users. &lt;/p&gt;&lt;p&gt;Edit:&amp;nbsp;&lt;/p&gt;&lt;p&gt;Basically how do I (or can I?) turn this field1 path into something that points to &lt;i&gt;any occurrence of&lt;/i&gt; field 1, and not just the first occurrence?&lt;/p&gt;&lt;p&gt;not(contains(d:Data, xdXDocument:get-DOM()/my:myFields/my:group1/my:group2/my:field1))&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Filtering a Repeating Table via another Repeating Field</title><link>https://www.infopathdev.com:443/forums/thread/121331.aspx</link><pubDate>Wed, 24 Jul 2019 15:25:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121331</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121331.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=121331</wfw:commentRss><description>Maybe because I&amp;#39;m using equals here instead of contains - but try this sample form and see if this is what you mean. Save locally, right click, select design - the condition to hide rows that I added was simple - but let me know if you have to use contains in your scenario and I can see what that needs to look like.</description></item><item><title>Filtering a Repeating Table via another Repeating Field</title><link>https://www.infopathdev.com:443/forums/thread/121328.aspx</link><pubDate>Tue, 23 Jul 2019 23:12:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121328</guid><dc:creator>dlafbsci</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121328.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=121328</wfw:commentRss><description>&lt;p&gt;I have a repeating table of data that I&amp;#39;m filtering through a series of rules that hide rows based on whatever condition.&amp;nbsp;Right now most of the filtering occurs&amp;nbsp;like this: &amp;quot;Data&amp;quot;&amp;nbsp;does not contain &amp;quot;Filter&amp;quot;, then Hide this control. In this case &amp;quot;Filter&amp;quot; is just a single text field of user input, &amp;quot;Data&amp;quot; is a repeating table from&amp;nbsp;a SharePoint secondary data connection. &lt;/p&gt;&lt;p&gt;So, in my repeating table structure containing dog,&amp;nbsp;cat, horse, bike, and car in its 5 rows, typing &amp;quot;car&amp;quot; into &amp;quot;Filter&amp;quot; would remove the car row. My question is there a way I can turn my&amp;nbsp;&amp;quot;Filter&amp;quot; into some sort of repeatable data itself, whether that be another repeating table, a numbered list, etc. and still have the rules apply? When I try this &lt;em&gt;only the&amp;nbsp;first&lt;/em&gt;&amp;nbsp;piece of data is accounted for in the rules. A &amp;quot;Filter&amp;quot; repeating table of &amp;quot;1) dog 2) cat 3) car&amp;quot; will only filter out &amp;quot;dog&amp;quot; from my &amp;quot;Data&amp;quot; table.&lt;/p&gt;&lt;p&gt;Now I know when composing a rule you have the option of selecting &amp;quot;Any occurrence of&amp;quot; when it comes to repeating tables, however it seems you&amp;#39;re only allowed to make this selection if it&amp;#39;s in the first &amp;quot;slot&amp;quot; of the rule so to speak. Basically I want to write a rule that states (&amp;quot;Data&amp;quot; does not contain &lt;strong&gt;any occurrence of&lt;/strong&gt; &amp;quot;Filter&amp;quot;), but you don&amp;#39;t have the any/all/number&amp;nbsp;options in the second slot of the rule builder. &lt;/p&gt;&lt;p&gt;I also can&amp;#39;t make out if it&amp;#39;s possible to write it in reverse such that&amp;nbsp;&lt;strong&gt;any occurrence of &lt;/strong&gt;&amp;quot;Filter&amp;quot; (appears in? is present in?) &amp;quot;Data&amp;quot;&lt;/p&gt;&lt;p&gt;I would assume that if what I&amp;#39;m trying to do were possible it must have to be done through xpath. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Let me know if what I&amp;#39;m saying makes sense or if I need to attach pictures or an example form. :)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>