<?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: Compare dates in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/88008.aspx</link><pubDate>Thu, 14 Mar 2013 09:27:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88008</guid><dc:creator>Dmitriy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88008.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=88008</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks a lot! Works fine now)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Compare dates in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/87982.aspx</link><pubDate>Wed, 13 Mar 2013 17:48:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87982</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87982.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=87982</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;My question was about your main data source. Your original screenshot showed only the form layout, which tells me nothing about the XPath for the nodes. But, that said, taking another look - the button is outside of the repeating section and thus that condition would by default be only considering the first row. I&amp;#39;m attaching a sample form - save it locally and then right click and select design to open in design mode.&lt;/p&gt;&lt;p&gt;I&amp;#39;m guessing your XPath expression will need to be:&lt;/p&gt;&lt;p&gt;/my:RateOverride/my:Rates[msxsl:string-compare(my:StartDate, my:EndDate) &amp;gt;= 0]&lt;/p&gt;&lt;p&gt;&lt;strong&gt;EDITED TO ADD: &lt;/strong&gt;I clicked on your original screenshot and see the main data source now - sorry about that! It wasn&amp;#39;t displaying until I opened the picture itself. &lt;/p&gt;</description></item><item><title>Re: Compare dates in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/87981.aspx</link><pubDate>Wed, 13 Mar 2013 17:33:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87981</guid><dc:creator>Dmitriy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87981.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=87981</wfw:commentRss><description>I attached screenshot.... Repeating group - Rates. Datasource - xml, that filling in via managed code.Yes. Condition is on the button. &lt;br /&gt;&lt;br /&gt;if it so important what datasource I use for ddls:&lt;br /&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; ?&amp;gt;&lt;br /&gt;&amp;lt;items&amp;gt;&lt;br /&gt;&amp;lt;item&amp;gt;&amp;lt;value/&amp;gt;&amp;lt;displayname/&amp;gt;&amp;lt;/item&amp;gt;&lt;br /&gt;&amp;lt;item&amp;gt;&amp;lt;value/&amp;gt;&amp;lt;displayname/&amp;gt;&amp;lt;/item&amp;gt;&lt;br /&gt;&amp;lt;/items&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;just use it for databinding ddl with WCF... thats it. Does it affect on date validation in repeating table?Still need to validate StartDate&amp;lt;EndDate in whole repeating table.. not only in the 1st row. Thanks&lt;br /&gt;&lt;p&gt;&lt;/p&gt;</description></item><item><title>Re: Compare dates in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/87939.aspx</link><pubDate>Tue, 12 Mar 2013 15:08:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87939</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87939.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=87939</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Mind showing what the actual data source is? What is the repeating group? I&amp;#39;m guessing the condition is on the button?&lt;/p&gt;</description></item><item><title>Re: Compare dates in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/87930.aspx</link><pubDate>Tue, 12 Mar 2013 08:04:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87930</guid><dc:creator>Dmitriy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87930.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=87930</wfw:commentRss><description>I have secondary datasources(2 xml) and i work with them in codebehind via wcf (https) to fill in drop down lists on the form. So what I need is to disable button in case when in any row of repeating table start date &amp;gt; end date. Problem is that msxsl:string-compare(/my:RateOverride/my:Rates/my:StartDate, 
/my:RateOverride/my:Rates/my:EndDate) &amp;gt;= 0 works just for the 1st row and doesn&amp;#39;t work for other rows.&lt;br /&gt;</description></item><item><title>Re: Compare dates in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/87890.aspx</link><pubDate>Mon, 11 Mar 2013 14:50:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87890</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87890.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=87890</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;What is the field the condition is on? Can you attach a screenshot of the data source under the Options tab? Or just attach your form?&lt;/p&gt;</description></item><item><title>Re: Compare dates in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/87879.aspx</link><pubDate>Mon, 11 Mar 2013 09:34:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87879</guid><dc:creator>Dmitriy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87879.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=87879</wfw:commentRss><description>Help plz, still need help</description></item><item><title>Compare dates in repeating table</title><link>https://www.infopathdev.com:443/forums/thread/87543.aspx</link><pubDate>Thu, 28 Feb 2013 15:59:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:87543</guid><dc:creator>Dmitriy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/87543.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=87543</wfw:commentRss><description>I can&amp;#39;t to compare 2 dates in repeating table. This rule msxsl:string-compare(/my:RateOverride/my:Rates/my:StartDate, /my:RateOverride/my:Rates/my:EndDate) &amp;gt;= 0 works just for the 1st row. Could you help me, please?</description></item></channel></rss>