<?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>Tactic for filtering by month..</title><link>https://www.infopathdev.com:443/forums/thread/61020.aspx</link><pubDate>Tue, 02 Nov 2010 18:55:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:61020</guid><dc:creator>Desmo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/61020.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=61020</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;For anyone struggling w/ a way to filter a repeating section by month in IP 2003, I wanted to share this &lt;/p&gt;&lt;p&gt;Assuming your date record is called StartDate &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Create a data field called &amp;quot;ShowPeriod&amp;quot;&amp;nbsp; as a whole number (integer)&lt;br /&gt;Create a drop down w/ values&amp;nbsp; 1-12 and corresponding labels Jan - Dec&lt;/p&gt;&lt;p&gt;On repeating section, add the following expression to a filter&lt;/p&gt;&lt;p&gt;&amp;nbsp;contains(substring(@StartDate, 6, 2), ../../my:Showperiod) &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; Thanks,&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>