<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Data filter</title><link>https://www.infopathdev.com:443/forums/thread/27698.aspx</link><pubDate>Fri, 04 Apr 2008 09:37:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27698</guid><dc:creator>ben.oates</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27698.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=27698</wfw:commentRss><description>&lt;p&gt;Thanks Clay... that&amp;#39;s brilliant.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;If anyone else has this problem, the best tutorial I found is here:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/timpash/archive/2005/10/26/Using-Current-Function.aspx"&gt;http://blogs.msdn.com/timpash/archive/2005/10/26/Using-Current-Function.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: Data filter</title><link>https://www.infopathdev.com:443/forums/thread/27673.aspx</link><pubDate>Thu, 03 Apr 2008 16:03:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27673</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27673.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=27673</wfw:commentRss><description>&lt;p&gt;Hey Ben.&lt;/p&gt;
&lt;p&gt;I am not sure I compeletly understand what you are looking for.&lt;/p&gt;
&lt;p&gt;You can use a filter to show all HWversion where HWType = a field or constant.&lt;/p&gt;
&lt;p&gt;I think you are trying to display it. If this is in a repeating tabel or section you may be looking for the current() function to refer to the current record and not the very first record.&amp;nbsp; Seach on current to find out more on this.&lt;/p&gt;</description></item><item><title>Data filter</title><link>https://www.infopathdev.com:443/forums/thread/27670.aspx</link><pubDate>Thu, 03 Apr 2008 15:43:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27670</guid><dc:creator>ben.oates</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27670.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=27670</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;m struggling a bit with a data filter for displaying items in a drop-down list.&lt;/p&gt;
&lt;p&gt;I have a repeating field called &amp;quot;Hardware&amp;quot; as you can see in the middle of the following XPath:&lt;/p&gt;
&lt;p&gt;/my:myFields/my:Hardware/my:HType&lt;/p&gt;
&lt;p&gt;HType&amp;nbsp;and HVersion are non-repeating elements in my:Hardware.&lt;/p&gt;
&lt;p&gt;I have a data connection to a Sharepoint list and I want the drop down list for HVersion to only show version numbers where @Name (on the list) is equal to HType. I did this:&lt;/p&gt;
&lt;p&gt;&lt;a href="mailto:../@Name"&gt;../@Name&lt;/a&gt; = xdXDocument:get-DOM()/my:myFields/my:Hardware/my:HType&lt;/p&gt;
&lt;p&gt;What this gives me is a filtered list of all the version numbers for the HType children of every Hardware. I just want the HType child in the same Hardware entry as the HVersion I&amp;#39;m currently looking at. Can anyone help me to adhust my code? Is it possible? I have tried ../my:HType and just my:HType but these do not work.&lt;/p&gt;
&lt;p&gt;Thanks all.&lt;/p&gt;</description></item></channel></rss>