<?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: Filter a SharePoint List on a date field</title><link>https://www.infopathdev.com:443/forums/thread/83958.aspx</link><pubDate>Fri, 26 Oct 2012 20:16:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83958</guid><dc:creator>Michael Vasquez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83958.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83958</wfw:commentRss><description>&lt;p&gt;I was using conditional statement to hide the rows in the repeating table.&amp;nbsp; This has to be the worst application on the market when it comes to dates.&amp;nbsp; It works in development (Infopath) &amp;nbsp;but not in production. (Web form) I have spent many hours trying to figure this out.&amp;nbsp; I still got that T even when the test datefield is a test box.&amp;nbsp; If I could set the date picket to use date and times maybe that might work but it seems that I can only use the date.&amp;nbsp; I tried the substring function without success.&amp;nbsp; I did noticed that the classdatetest was in the repeating table so I moved it out of the repeating table and the T was gone.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;It&amp;#39;s working on the Web Form.&amp;nbsp; What I did was to change the ClassDate (date picker)&amp;nbsp;from text to Date.&amp;nbsp; The ClassDateTest field,&amp;nbsp;which can be hidden,&amp;nbsp;I left as a text box.&amp;nbsp; I set a rule on the ClassDate field to set a fields value(ClassDateTest) to concat(., &amp;quot; 00:00:00&amp;quot;).&amp;nbsp; When I ran it, there was no T in the ClassDateTest field.&amp;nbsp; When I ran the conditional statement to show my only the rows where the date and name of the class match, the Class Roster for that day shows up.&lt;/p&gt;
&lt;p&gt;Thanks very much for giving me ideas as to how to handles&amp;nbsp;microsoft&amp;#39;s method of handling dates.&amp;nbsp;Why can&amp;#39;t they make it easy all the way around with dealing with dates.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I&amp;#39;ll be doing more testing and hopefully this is it.&lt;/p&gt;</description></item><item><title>Re: Filter a SharePoint List on a date field</title><link>https://www.infopathdev.com:443/forums/thread/83954.aspx</link><pubDate>Fri, 26 Oct 2012 19:26:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83954</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83954.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83954</wfw:commentRss><description>And also - are you using conditional formatting to hide rows or are you using a filter on the repeating table / section? I re-read your original question, but don&amp;#39;t see that info - not sure if that matters or not...</description></item><item><title>Re: Filter a SharePoint List on a date field</title><link>https://www.infopathdev.com:443/forums/thread/83953.aspx</link><pubDate>Fri, 26 Oct 2012 19:19:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83953</guid><dc:creator>Michael Vasquez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83953.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83953</wfw:commentRss><description>&lt;p&gt;All files are strings.&amp;nbsp; I initially tried the substring but on the Web form it did not work&amp;nbsp; I&amp;#39;ll try setting the date using the ClassDate to set ClassDateTest and see if the output is OK.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;</description></item><item><title>Re: Filter a SharePoint List on a date field</title><link>https://www.infopathdev.com:443/forums/thread/83931.aspx</link><pubDate>Fri, 26 Oct 2012 16:07:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83931</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83931.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83931</wfw:commentRss><description>&lt;p&gt;Is ClassDate the date field in the main data source? Is it a &lt;a href="http://www.w3schools.com/schema/schema_dtypes_date.asp"&gt;dateTime&lt;/a&gt; data type? XML dateTime values have a T between date &amp;amp; time.&lt;/p&gt;&lt;p&gt;It seems you could have used rules for this instead of code? Put a rule on ClassDate to set ClassDateTest to include the T and the 0s.&lt;/p&gt;&lt;p&gt;I guess I&amp;#39;m also wondering why you aren&amp;#39;t just using an expression for your conditional formatting - substring both fields to just the first 10 characters (which would be just the date portion)&lt;/p&gt;</description></item><item><title>Re: Filter a SharePoint List on a date field</title><link>https://www.infopathdev.com:443/forums/thread/83930.aspx</link><pubDate>Fri, 26 Oct 2012 15:44:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83930</guid><dc:creator>Michael Vasquez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83930.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83930</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Michael Vasquez:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt; 
&lt;p&gt;I finally got i to work properly for the SHAREPOINT Class,&amp;nbsp; It should work on the others.&lt;/p&gt;
&lt;p&gt;What I did was to change the format of the DateClass Field in code such as:&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Public&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; ClassDate_Changed(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; sender &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Object&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; e &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; XmlEventArgs)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; xpn &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; XPathNavigator = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Me&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.CreateNavigator()&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; ns &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; XmlNamespaceManager = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Me&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.NamespaceManager&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; dateValue &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;String&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; = e.NewValue&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;If&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; dateValue.Length &amp;lt; 19 &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Then&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;xpn.SelectSingleNode(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;/my:myForm/my:ClassDate&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, ns).SetValue(e.NewValue + &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot; 00:00:00&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Exit&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;If&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/font&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;The value shown in the date picker(ClassDate) is still yyyy-mm-dd but the underlying value is actuall yyyy-mm-dd 00:00:00&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;The conditional formating I used on the Repeating Tables was:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;Class_Date(the date on the sharepoint list)&amp;nbsp;is not equal to ClassDate OR&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;ClassList is not equal to &amp;quot;SHAREPOINT&amp;quot;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;Hide this control.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;I will now test it on the rest of the classes.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;Thanks again.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;OK This worked initially.&amp;nbsp; I created another field called ClassDateTest, text box.&amp;nbsp; I set the value to ClassDate and also created an onChange function that will change the value to yyyy-mm-dd 00:00:00.&amp;nbsp; Initially it works for the SHAREPOINT class but when I tried to go to another date the value of the ClassDateTest is yyyy-mm-ddT00:00:00.&amp;nbsp; Noticed the &amp;quot;T&amp;quot;.&amp;nbsp; This &amp;quot;T&amp;quot; does not show up&amp;nbsp; the infopath 2007 form, only in the Web form.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Anyother suggestions?&lt;/p&gt;
&lt;p&gt;Frustrated Mike&lt;/p&gt;</description></item><item><title>Re: Filter a SharePoint List on a date field</title><link>https://www.infopathdev.com:443/forums/thread/83923.aspx</link><pubDate>Fri, 26 Oct 2012 14:32:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83923</guid><dc:creator>Michael Vasquez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83923.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83923</wfw:commentRss><description>&lt;p&gt;I finally got i to work properly for the SHAREPOINT Class,&amp;nbsp; It should work on the others.&lt;/p&gt;
&lt;p&gt;What I did was to change the format of the DateClass Field in code such as:&lt;/p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Public&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; ClassDate_Changed(&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; sender &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Object&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;ByVal&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; e &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; XmlEventArgs)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; xpn &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; XPathNavigator = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Me&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.CreateNavigator()&lt;/p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; ns &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; XmlNamespaceManager = &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Me&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;.NamespaceManager&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Dim&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; dateValue &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;As&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;String&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; = e.NewValue&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;If&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; dateValue.Length &amp;lt; 19 &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Then&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;xpn.SelectSingleNode(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;/my:myForm/my:ClassDate&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;, ns).SetValue(e.NewValue + &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot; 00:00:00&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;)&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Exit&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;If&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;End&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;Sub&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;/font&gt;&lt;/font&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;The value shown in the date picker(ClassDate) is still yyyy-mm-dd but the underlying value is actuall yyyy-mm-dd 00:00:00&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;The conditional formating I used on the Repeating Tables was:&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;Class_Date(the date on the sharepoint list)&amp;nbsp;is not equal to ClassDate OR&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;ClassList is not equal to &amp;quot;SHAREPOINT&amp;quot;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;Hide this control.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;I will now test it on the rest of the classes.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;Thanks again.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font color="#0000ff"&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&amp;nbsp;&lt;/p&gt;&lt;/font&gt;&lt;/font&gt;</description></item><item><title>Re: Filter a SharePoint List on a date field</title><link>https://www.infopathdev.com:443/forums/thread/83893.aspx</link><pubDate>Thu, 25 Oct 2012 19:53:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83893</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83893.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83893</wfw:commentRss><description>&lt;p&gt;I think you have to find out how IPFS is returning the date. &lt;/p&gt;&lt;p&gt;Put a couple of calculated values on your form - one displaying Class_date and one displaying ClassDate. Set the format on the calculated values to display the XML value. Then look at it in IPFS - what are the values?&lt;/p&gt;</description></item><item><title>Re: Filter a SharePoint List on a date field</title><link>https://www.infopathdev.com:443/forums/thread/83892.aspx</link><pubDate>Thu, 25 Oct 2012 19:45:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83892</guid><dc:creator>Michael Vasquez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83892.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83892</wfw:commentRss><description>&lt;p&gt;I spoke too soon.&amp;nbsp; When I went to publish the form, the Web form did not work; but in Infopath it does.&lt;/p&gt;
&lt;p&gt;The Class Roster InfoPath 2007 Web Form has 27 data connections, which point to 27 different list.&amp;nbsp; No problem here.&lt;/p&gt;
&lt;p&gt;Here is my rule for&amp;nbsp;the class roster on an individual Repeating Table.&lt;/p&gt;
&lt;p&gt;The first repeating table points to a secondary data source called SHAREPOINT.&lt;/p&gt;
&lt;p&gt;If Class_date is not equal to concat(ClassDate, &amp;quot; 00:00:00&amp;quot;) OR ClassList is not equal to SHAREPOINT, &amp;quot;Hide this control.&amp;quot;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Class_date is the class date on the SHAREPOINT list AND ClassDate is a date picker&amp;nbsp;field on my form.&amp;nbsp; ClassList is a drop-down list on the form that shows all of the classes offerred.&lt;/p&gt;
&lt;p&gt;When I run this list in InfoPath 2007, it works great.&amp;nbsp; When I run it as a Web form it does not work.&amp;nbsp; If I remove the rule on this repeating table, the Web form will show all the people who have registered for this class.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Does anyone know how I can get this to work.&lt;/p&gt;
&lt;p&gt;The template is fully trusted.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;TIA Mike&lt;/p&gt;</description></item><item><title>Re: Filter a SharePoint List on a date field</title><link>https://www.infopathdev.com:443/forums/thread/83634.aspx</link><pubDate>Thu, 18 Oct 2012 19:51:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83634</guid><dc:creator>Michael Vasquez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83634.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83634</wfw:commentRss><description>&lt;p&gt;You are the best.&amp;nbsp; It worked.&amp;nbsp; I thought I had tried the concat function but I probably had it reversed.&amp;nbsp; Now I just have to do this for the other 20 classes.&amp;nbsp; But at least the hard part is over.&lt;/p&gt;</description></item><item><title>Re: Filter a SharePoint List on a date field</title><link>https://www.infopathdev.com:443/forums/thread/83607.aspx</link><pubDate>Thu, 18 Oct 2012 17:36:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83607</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83607.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83607</wfw:commentRss><description>&lt;p&gt;Couldn&amp;#39;t you just concat the value from your date picker with &amp;quot; 00:00:00&amp;quot; ? I&amp;#39;ve attached a sample - right click the file link in the header of this post and save locally. Right click the saved file and preveiw.&lt;/p&gt;</description></item><item><title>Filter a SharePoint List on a date field</title><link>https://www.infopathdev.com:443/forums/thread/83606.aspx</link><pubDate>Thu, 18 Oct 2012 17:19:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:83606</guid><dc:creator>Michael Vasquez</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/83606.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=83606</wfw:commentRss><description>&lt;p&gt;I have searched the Internet and have found some solutions but none work.&amp;nbsp; I have&amp;nbsp; a SharePoint List called SharePoint, which is also a Data Connection on my InfoPath 2007&amp;nbsp;form.&amp;nbsp; I have created a repeating section to the my data connection, SharePoint.&amp;nbsp; I have also added a test box on the repeating section,which points to a field, @Class_Date.&amp;nbsp; I have also created a Date Picker field on the Infopath 2007 form.&lt;/p&gt;
&lt;p&gt;The problem that I am experiencing is the @Class_Date field shows the output as yyyy-mm-dd 00:00:00.&amp;nbsp; I have tried to setup a rule using a substring function to only show yyyy-mm-dd.&amp;nbsp; For some reason this does not work.&amp;nbsp; How do I remove the 00:00:00 on that @field?&amp;nbsp; When I change the Date Picker to a text box and make the default yyyy-mm-dd 00:00:00, my conditional statement on my repeating section works because now both fields match and the output is the records based on the matching dates.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I also noted that when the form loads, the rule is not applied but when I edit the @Class_Date field by removing the last &amp;quot;0&amp;quot;, the rule runs and the the is now yyyy-mm-dd, which is what I want.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;How do I get this rule to run when the form loads?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;TIA &lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>