<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Rules - problem with condition in parsed date field</title><link>https://www.infopathdev.com:443/forums/thread/67573.aspx</link><pubDate>Mon, 20 Jun 2011 16:46:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67573</guid><dc:creator>dms.WebDev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67573.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=67573</wfw:commentRss><description>&lt;p&gt;UPDATE to my&amp;nbsp;last response - I was WRONG.&amp;nbsp; Adding the rules to field3 did not solve the problem nor does it seem to make a difference whether the checkbox for &amp;quot;Stop processing rules when this rule finishes&amp;quot; is checked or not checked.&amp;nbsp; The ONLY time the rule works is the first time a new form is submitted after the form is first published.&amp;nbsp; Subsequent new forms do not show the month.&amp;nbsp; The Year and Month Number show up, but the Month Text does not show up.&amp;nbsp; The Month Text is set by rules.&amp;nbsp; I have applied them to MonthNumber and MonthText and&amp;nbsp;tried numerous combinations of check/uncheck the &amp;quot;Stop processing....&amp;quot; checkboxes and nothing seems to work.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am stumped.&amp;nbsp;&amp;nbsp;Can anyone help????????????&amp;nbsp;&lt;/p&gt;
&lt;p&gt;UPDATE2: after struggling with this for 2 days I found a better solution -- leaving InfoPath out of the equation entirely.&amp;nbsp; I solved this by creating two calculated columns Year &amp;amp; Month in my SharePoint form library using these formulas:&lt;br /&gt;Year&amp;nbsp; &amp;nbsp;=TEXT(Created,&amp;quot;YYYY&amp;quot;)&lt;/p&gt;
&lt;p&gt;Month =TEXT(MONTH(Created),&amp;quot;00&amp;quot;)&amp;amp;&amp;quot; &amp;quot;&amp;amp;TEXT(Created,&amp;quot;mmmm&amp;quot;)&lt;/p&gt;
&lt;p&gt;(Note I added the 2-digit numeric month to month name so month sorts correctly).&lt;/p&gt;
&lt;p&gt;The beauty of this method is that I don&amp;#39;t have to relink existing forms to the newly revised InfoPath form template.&amp;nbsp; The calculated fields appear&amp;nbsp;with their values immediately to all existing forms in the library once they are created.&amp;nbsp; All I wanted to do was group items in the list by year and&amp;nbsp;month. I&amp;nbsp;utilized the built-in SharePoint column &amp;quot;Created&amp;quot; to parse the year and month (instead of my InfoPath form name (string(now())).&amp;nbsp; As a newbie this is an awesome revelation!&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks goes to&amp;nbsp;these two&amp;nbsp;posts&amp;nbsp;which&amp;nbsp;helped me&amp;nbsp;set it up: &lt;/p&gt;
&lt;p&gt;&lt;a href="http://zabistop.blogspot.com/2008/01/calculated-column-to-display-month-name.html"&gt;http://zabistop.blogspot.com/2008/01/calculated-column-to-display-month-name.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.sharepointboris.net/2009/05/get-the-month-name-in-calculated-column/"&gt;http://www.sharepointboris.net/2009/05/get-the-month-name-in-calculated-column/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Rules - problem with condition in parsed date field</title><link>https://www.infopathdev.com:443/forums/thread/67567.aspx</link><pubDate>Mon, 20 Jun 2011 15:41:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67567</guid><dc:creator>dms.WebDev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67567.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=67567</wfw:commentRss><description>&lt;p&gt;I placed them on field4 (&amp;quot;MonthText&amp;quot;).&lt;/p&gt;
&lt;p&gt;Thank you for your solution. It appears if I place the rules on field3 instead, they show up!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Rules - problem with condition in parsed date field</title><link>https://www.infopathdev.com:443/forums/thread/67565.aspx</link><pubDate>Mon, 20 Jun 2011 15:34:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67565</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67565.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=67565</wfw:commentRss><description>&lt;p&gt;Where have you placed the rules you are talking about for field4?&amp;nbsp; They should probably be placed on the MonthNumber field.&lt;/p&gt;</description></item><item><title>Rules - problem with condition in parsed date field</title><link>https://www.infopathdev.com:443/forums/thread/67564.aspx</link><pubDate>Mon, 20 Jun 2011 15:28:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:67564</guid><dc:creator>dms.WebDev</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/67564.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=67564</wfw:commentRss><description>&lt;p&gt;Using&amp;nbsp;IP 2007 published to MOSS 2007 form library.&lt;/p&gt;
&lt;p&gt;I have 4 hidden fields with functions to parse the date from the&amp;nbsp;&amp;quot;NameCode&amp;quot; field.&amp;nbsp; I am using the Year and Month values to promote as&amp;nbsp;columns so I can sort the form libary by year then month.&amp;nbsp; The problem* is with field4 &amp;quot;MonthText&amp;quot;.&amp;nbsp; I would&amp;nbsp;like to convert the month from a number to a name but the&amp;nbsp;Rule I&amp;#39;ve applied is not doing the trick.&amp;nbsp; I&amp;#39;ve applied it on the field4 &amp;quot;MonthText&amp;quot; field. All 4 fields are&amp;nbsp;text data types.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;field1 &amp;quot;NameCode&amp;quot; = string(now())&amp;nbsp; &lt;/p&gt;
&lt;p&gt;field2 &amp;quot;Year&amp;quot; = substring-before(NameCode, &amp;quot;-&amp;quot;)&lt;/p&gt;
&lt;p&gt;field3 &amp;quot;MonthNumber&amp;quot; = substring(NameCode, 6, 2)&lt;/p&gt;
&lt;p&gt;*field4 &amp;quot;MonthText&amp;quot; = Rule1 If &amp;quot;MonthNumber&amp;quot; is equal to&amp;nbsp;&amp;quot;01&amp;quot; set a fields value &amp;quot;MonthText&amp;quot; to &amp;quot;Janaury&amp;quot; and so on for the remaining months...&lt;/p&gt;
&lt;p&gt;What is wrong with my rule, why isn&amp;#39;t it showing up?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>