<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Less than or equal to Formatting Rule not working for me</title><link>https://www.infopathdev.com:443/forums/thread/121951.aspx</link><pubDate>Tue, 12 Nov 2019 15:58:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121951</guid><dc:creator>Wheels</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121951.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=121951</wfw:commentRss><description>&lt;p&gt;Thank you Hilary. A lot of our InfoPath expertise has left the company, and it is a great comfort to know that you are on the other end of the computer for guidance. Have a great day.&lt;/p&gt;</description></item><item><title>Re: Less than or equal to Formatting Rule not working for me</title><link>https://www.infopathdev.com:443/forums/thread/121949.aspx</link><pubDate>Tue, 12 Nov 2019 15:26:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121949</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121949.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=121949</wfw:commentRss><description>Perfect, glad you got it figured out. So SharePoint stores dates as datetime. Even if you have the format set on the field to display only date - it is still datetime. That&amp;#39;s why the time portion is included! But if you strip off the string from the T on, as you found, you get the date value. String-compare works (which if you look at the XPath expression is what InfoPath uses for greater than / lesser than for non-numeric data) because our XML dates are yyyy-MM-dd, i.e. 2019-02-24 or 2018-05-09.</description></item><item><title>Re: Less than or equal to Formatting Rule not working for me</title><link>https://www.infopathdev.com:443/forums/thread/121948.aspx</link><pubDate>Tue, 12 Nov 2019 13:28:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121948</guid><dc:creator>Wheels</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121948.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=121948</wfw:commentRss><description>&lt;p&gt;Please disregard. I have it working now with this:&lt;/p&gt;&lt;p&gt;FormDate is greater than or equal to&amp;nbsp;substring-before(Level_x0020_Start, &amp;quot;T&amp;quot;)&lt;/p&gt;&lt;p&gt;FormDate is less than or equal to&amp;nbsp;substring-before(Level_x0020_End, &amp;quot;T&amp;quot;)&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Less than or equal to Formatting Rule not working for me</title><link>https://www.infopathdev.com:443/forums/thread/121947.aspx</link><pubDate>Tue, 12 Nov 2019 13:06:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121947</guid><dc:creator>Wheels</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121947.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=121947</wfw:commentRss><description>&lt;p&gt;Good morning&amp;nbsp;Hilary. &lt;/p&gt;&lt;p&gt;I am having a similar issue and found this old thread. I have a start date and end date in SharePoint. Although they are set to Date only, it appears the dates come in with the time portion also. What I am trying to do is take a date picker date (default to today()), and compare to see if the InfoPath date is between the two SharePoint dates. I figured out it was the time portion that is throwing it off as SharePoint comes through as 00:00:00 and when there is a date and time in a datepicker, it is 11:59:59.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I looked at your example and if it were in textboxes it would be a lot simpler, but I am&amp;nbsp;using the dates to filter&amp;nbsp;for a drop-down list to populate a lists of names. There are several date rates for each individual and when someone selects the date, only the list of names for that date period should appear in the drop-down. Once the name is selected it pulls in other information related to that individual for that point in time.&lt;/p&gt;&lt;p&gt;I populated a textbox with the value of the datepicker (FormDate) and formatted it with both substrings methods below:&lt;/p&gt;&lt;p&gt;Specify Filter Conditions&amp;nbsp;&lt;/p&gt;&lt;p&gt;FormDate is greater than or equal to concat(substring(Level_x0020_Start, 6, 2), &amp;quot;/&amp;quot;, substring(Level_x0020_Start, 9, 2), &amp;quot;/&amp;quot;, substring(Level_x0020_Start, 1, 4)) and&lt;/p&gt;&lt;p&gt;FormDate is less than or equal to concat(substring(Level_x0020_End, 6, 2), &amp;quot;/&amp;quot;, substring(Level_x0020_End, 9, 2), &amp;quot;/&amp;quot;, substring(Level_x0020_End, 1, 4))&amp;nbsp;&lt;/p&gt;&lt;p&gt;or&lt;/p&gt;&lt;p&gt;FormDate is greater than or equal to&amp;nbsp;substring-before(Level_x0020_Start, &amp;quot;T&amp;quot;)&lt;/p&gt;&lt;p&gt;FormDate is less than or equal to&amp;nbsp;substring-before(Level_x0020_End, &amp;quot;T&amp;quot;)&lt;/p&gt;&lt;p&gt;Neither seems to work.&lt;/p&gt;&lt;p&gt;It feels a little odd to compare dates as strings and I had considered converting them to Julian #s without much success. &lt;/p&gt;&lt;p&gt;Any suggestions, WHEELS&lt;/p&gt;</description></item><item><title>Re: Less than or equal to Formatting Rule not working for me</title><link>https://www.infopathdev.com:443/forums/thread/78509.aspx</link><pubDate>Fri, 11 May 2012 13:26:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78509</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78509.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=78509</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m so glad you were able to work through this! You&amp;#39;ve learned some things that are going to help you troubleshoot - conditional formatting can be a bear when the values have been obfuscated by formatting - like you were seeing with the dates. Good luck with your future InfoPath endeavors, and post again if you get stuck.&lt;/p&gt;</description></item><item><title>Re: Less than or equal to Formatting Rule not working for me</title><link>https://www.infopathdev.com:443/forums/thread/78496.aspx</link><pubDate>Fri, 11 May 2012 02:29:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78496</guid><dc:creator>IbisDev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78496.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=78496</wfw:commentRss><description>&lt;p&gt;Hilary,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;That was absolutely it. And as you said in the sample file it really is crazy. I can see how the data fields would not match up with the data side having the Time appended to the date. Even though the Time was always 00:00:00, it was there. I thought that when I set up the SharePoint column to be Date&amp;nbsp;Only that I had taken care of&amp;nbsp;it. But it is called a Date and Time column. I have no idea how I would have found this without your help, let alone figured out how to correct it. I have gained some excellent knowledge through this.&lt;/p&gt;
&lt;p&gt;Thanks for your help and patience. I am really glad I found this forum. &lt;/p&gt;
&lt;p&gt;Bob Blasingame&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Less than or equal to Formatting Rule not working for me</title><link>https://www.infopathdev.com:443/forums/thread/78494.aspx</link><pubDate>Thu, 10 May 2012 23:33:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78494</guid><dc:creator>IbisDev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78494.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=78494</wfw:commentRss><description>&lt;p&gt;Hilary,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;COLOR:#1f497d;FONT-SIZE:11pt;mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;mso-bidi-theme-font:minor-bidi;mso-themecolor:dark2;"&gt;I added the date field as a test again and the data does have a T . &lt;/span&gt;&lt;span class="xddttext1"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;2012-01-27T00:00:00&lt;/span&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt; &lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="xddttext1"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="xddttext1"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Let me work on this for a bit and see if I can add the substring correctly and I’ll post my results.&lt;/span&gt;&lt;/span&gt;&lt;span class="xddttext1"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="xddttext1"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Thank you so much for your patience and your help. I found the InfoPathDev forum by searching for some other issues I was having and saw some posts from you back in 2010 and 2009 I think. Nice to have someone who sticks with it. &lt;/span&gt;&lt;/span&gt;&lt;span class="xddttext1"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt; 
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span class="xddttext1"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;I’ll update as soon as I get this finished. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span class="xddttext1"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;span class="xddttext1"&gt;&lt;span style="FONT-FAMILY:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&lt;/span&gt;&lt;/span&gt;Bob&lt;/p&gt;</description></item><item><title>Re: Less than or equal to Formatting Rule not working for me</title><link>https://www.infopathdev.com:443/forums/thread/78493.aspx</link><pubDate>Thu, 10 May 2012 23:17:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78493</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78493.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=78493</wfw:commentRss><description>&lt;p&gt;Well, first off, you aren&amp;#39;t dense, you are new. Some of these initial concepts can be pretty confusing. If you keep in mind that your data may be different from the presentation, that will help. For example, a decimal could be displayed as currency: $4.00, but the value would still be 4.00 (no $ sign!)&lt;/p&gt;
&lt;p&gt;You do need to preview the form to enter some data, or to have data returned from your secondary data&amp;nbsp;connection&amp;nbsp;- your steps sound correct. In my sample form, I set default values so it would be easy to see the difference even in design mode.&lt;/p&gt;
&lt;p&gt;Since your data is coming from SharePoint - you won&amp;#39;t be able to get rid of the time - you can, however, modify your formatting rule to remove it when comparing&amp;nbsp;- if the actual data looks like this:&lt;/p&gt;
&lt;p&gt;2012-05-10 00:00:00&lt;/p&gt;
&lt;p&gt;With a space between date and time, you could compare your End Date with a substring - like&lt;/p&gt;
&lt;p&gt;&lt;em&gt;EndDate&lt;/em&gt; &amp;gt;= substring-before(&lt;em&gt;SharePointDate&lt;/em&gt;, &amp;quot; &amp;quot;)&lt;/p&gt;
&lt;p&gt;I think your data from SharePoint probably does have a space. If it has a T - there is a sample for that in the form I posted, but it would be the same as above, just substring before &amp;quot;T&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;EndDate&lt;/em&gt; &amp;gt;= substring-before(&lt;em&gt;SharePointDate&lt;/em&gt;, &amp;quot; &amp;quot;)&lt;/p&gt;
&lt;p&gt;Does that make sense?&lt;/p&gt;</description></item><item><title>Re: Less than or equal to Formatting Rule not working for me</title><link>https://www.infopathdev.com:443/forums/thread/78492.aspx</link><pubDate>Thu, 10 May 2012 23:09:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78492</guid><dc:creator>IbisDev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78492.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=78492</wfw:commentRss><description>&lt;p&gt;Thank you so much for taking the time to build that example. I may be a little dense, so let me ask a couple of questions about what I am doing.&lt;/p&gt;
&lt;p&gt;When I want to see the XML of the data that is going to the Date field or the Start/End Date Picker field this is what I did. &lt;/p&gt;
&lt;p&gt;Open the Text or Date Picker Properties. Under the Data Tab in Binding it says Data Type - DateOnlyType.&lt;/p&gt;
&lt;p&gt;Next to that is the Format Option button. In Format Date and Time, I can select None (Display XML Value) &lt;/p&gt;
&lt;p&gt;If I click Display XML value and apply it. &lt;/p&gt;
&lt;p&gt;Go to the Preview and enter some dates the field shows what I assume is the XML data without formatting. &lt;/p&gt;
&lt;p&gt;Or, am I looking in entirely the wrong place or the wrong way. I&amp;#39;m not sure how else to see the data without previewing the form. &lt;/p&gt;
&lt;p&gt;I do know that when I added the test field and bound it to the Date field that it had the time in the Date field, so I guess that tells me it is there, so how do I get rid of it?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Less than or equal to Formatting Rule not working for me</title><link>https://www.infopathdev.com:443/forums/thread/78490.aspx</link><pubDate>Thu, 10 May 2012 22:43:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78490</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78490.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=78490</wfw:commentRss><description>&lt;p&gt;I think I maybe wasn&amp;#39;t clear.&lt;/p&gt;
&lt;p&gt;Changing the formatting won&amp;#39;t change the &lt;strong&gt;&lt;em&gt;value&lt;/em&gt;&lt;/strong&gt;. I just wanted you to be able to &lt;strong&gt;&lt;em&gt;see&lt;/em&gt;&lt;/strong&gt; the actual value, to help you figure out what was going on. So when you change the format, that&amp;#39;s all you are changing - how the data is displayed. The value will still be what you saw when you changed it to a text box. I hope that makes sense. So, no, time has not been removed at all - it is simply not &lt;strong&gt;&lt;em&gt;displayed&lt;/em&gt;&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve attached a simple sample form that may help explain what I mean a little better. Save it locally, right click the file and click design to open in design mode.&lt;/p&gt;</description></item><item><title>Re: Less than or equal to Formatting Rule not working for me</title><link>https://www.infopathdev.com:443/forums/thread/78489.aspx</link><pubDate>Thu, 10 May 2012 22:28:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78489</guid><dc:creator>IbisDev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78489.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=78489</wfw:commentRss><description>&lt;p&gt;The End Date date picker as XML showed only the date. The Date field in the repeating table as XML did show the Date00:00:00. So I tried changing the format of the control to show the Date without the * and selected do not diplay time. Didn&amp;#39;t stick. I don&amp;#39;t need the Date field in the repeating table to be a Date Picker, so I changed it to a Text field as you suggested and was able to get rid of the time and show only the date. This worked in the test field you suggested earlier also. So as near as I can tell, time has been removed, but I get the same result. I tried chaging the argument from Less Than to Less Than or Equal To and back again. No change. &amp;nbsp;It seems logical that when using a Formatting Rule with Hide Control, that it would hide any value the equals the End Date, but on the Start Date it shows Dates that are equal to the Start Date value. Seems like the two would work similiarly, except one is &amp;gt; and the other &amp;lt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Less than or equal to Formatting Rule not working for me</title><link>https://www.infopathdev.com:443/forums/thread/78487.aspx</link><pubDate>Thu, 10 May 2012 21:59:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78487</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78487.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=78487</wfw:commentRss><description>&lt;p&gt;Sometimes we just don&amp;#39;t get our data back in our form in the format we&amp;#39;d expect. So, drag the field onto the form (like you did above), go ahead and delete the time field, and change the date picker to a text box (right click and change the control). Right click the text box (which should be bound to your field) and under Properties, click the format button. Then you can display the XML value. You can do the same for your end date. What you need to know is the actual value of your end date, and the actual value of the date from SharePoint - and if InfoPath is helpfully formatting them for you, you may not be able to figure out what is happening in your form.&lt;/p&gt;</description></item><item><title>Re: Less than or equal to Formatting Rule not working for me</title><link>https://www.infopathdev.com:443/forums/thread/78485.aspx</link><pubDate>Thu, 10 May 2012 21:46:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78485</guid><dc:creator>IbisDev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78485.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=78485</wfw:commentRss><description>&lt;p&gt;I set the SharePoint Column up as Date only and when I look at the detail of the field in InfoPath, it says it is a Date Only Type. That said, and I am just getting into InfoPath, when I drug the datafields onto the form and selected Repeatable Table, it set up two fields in the Date column, one for Date and the other for Time. In as much as there was no time value being imported, I just deleted the Time field. Was it a default for it to set up a time field or did it detect one? I guess that is the question.The Formatting rule works fine for the Start Date and also for End Date as long as I use an End Date that is one day past the last date that I actually want to&amp;nbsp;display. It may take me a bit to do the checking you suggested, so I wanted to get back to you as quickly as possible. I really appreciate the help.&lt;/p&gt;
&lt;p&gt;Bob&lt;/p&gt;</description></item><item><title>Re: Less than or equal to Formatting Rule not working for me</title><link>https://www.infopathdev.com:443/forums/thread/78483.aspx</link><pubDate>Thu, 10 May 2012 21:24:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78483</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78483.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=78483</wfw:commentRss><description>&lt;p&gt;The date probably includes time information. You can see the actual data if you put a control on your form bound to the field you are comparing to, then format it to show the XML value of the date - it is probably something like &amp;quot;2012-05-10 00:00:00&amp;quot;. If your end date was including time, you may see a different behavior than you anticipate....&lt;/p&gt;</description></item><item><title>Less than or equal to Formatting Rule not working for me</title><link>https://www.infopathdev.com:443/forums/thread/78479.aspx</link><pubDate>Thu, 10 May 2012 19:12:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:78479</guid><dc:creator>IbisDev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/78479.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=78479</wfw:commentRss><description>&lt;p&gt;&lt;span style="COLOR:#000000;"&gt;I am displaying data from a SharePoint List in an InfoPath 2010 Form. I am using a formatting rule to filter the data by Date. I have two fields: Start Date and End Date that specify the filter dates. The formatting rule basically hides the data&amp;nbsp;that you don&amp;#39;t want to see which leaves the data you want visible. Somewhat of a reverse logic, but it works.&amp;nbsp; The rule is when Start Date &amp;gt;= to the Date in the data and End Date is &amp;lt;= the Date in the data. I get the same results if I use just &amp;gt; and &amp;lt; without the =. This filters the data as expected, but the End Date filters the data that has the same Date as the End Date. You have to go one day past the Date with the End Date to get all the days you want included. There is no problem with the Start Date, just the End Date. IE. If you wanted Monday 5/7/2012 &amp;nbsp;through Friday 5/11/2012, you would have to select Saturday 5/12/2012 as your end date to get the desired date range data. I actually think the &amp;lt; arguement is the more correct logic, but the from behaves the same either way. I tried adding +1 to the Date, but probably chose bad syntax as it failed. Any suggestions on why this doesn&amp;#39;t work as I expect it to? I have tried about everything I can think of.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="COLOR:#000000;"&gt;&amp;nbsp;Bob&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>