<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Hide Duplicates</title><link>https://www.infopathdev.com:443/forums/thread/21569.aspx</link><pubDate>Mon, 09 Jul 2007 20:08:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21569</guid><dc:creator>TogasPoon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21569.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=21569</wfw:commentRss><description>&lt;p&gt;This hides ALL the entries.&lt;br /&gt;&lt;br /&gt;not(d:MeterType = current()/preceding-sibling::d:MeterType)&lt;/p&gt;&lt;p&gt;&amp;nbsp;All these preceding-sibling threads are giving me a headache.&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Hide Duplicates</title><link>https://www.infopathdev.com:443/forums/thread/21559.aspx</link><pubDate>Mon, 09 Jul 2007 18:44:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21559</guid><dc:creator>Shiraz Cupala</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21559.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=21559</wfw:commentRss><description>&lt;p&gt;In this situation you need to use the preceding-sibling syntax to check if any preceeding nodes match your current node and if so then hide. You can find good help on such advanced XPath formulas from this page: &lt;a href="http://www.w3schools.com/xpath/xpath_axes.asp"&gt;http://www.w3schools.com/xpath/xpath_axes.asp&lt;/a&gt;&lt;/p&gt;&lt;p&gt;It would be something like preceding-sibling::/myFields/dataFields/d:row[d:MeterType=current()/d:MeterType]. I&amp;#39;m not an xpath expert but have used similar constructs to achieve what you want.&lt;/p&gt;</description></item><item><title>Hide Duplicates</title><link>https://www.infopathdev.com:443/forums/thread/21553.aspx</link><pubDate>Mon, 09 Jul 2007 16:07:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:21553</guid><dc:creator>TogasPoon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/21553.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=21553</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve looked at several threads on this subject but I still can&amp;#39;t get my form to work.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have a repeating table and I&amp;#39;d like to hide values if they are repeating based on the MeterType.&amp;nbsp; The data is coming from my Secondary data source and looks like this in InfoPath.&lt;/p&gt;&lt;p&gt;myFields/dataFields/d:row/:MeterType&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I sure I want to use an Expression to hide the field I&amp;#39;m just not sure what that expression should be.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>