<?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: previous Month</title><link>https://www.infopathdev.com:443/forums/thread/52342.aspx</link><pubDate>Tue, 02 Mar 2010 16:40:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52342</guid><dc:creator>dgelosini</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52342.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=52342</wfw:commentRss><description>&lt;p&gt;great it works very well, thanks &lt;/p&gt;
&lt;p&gt;If do not disturbe can give me a site or a book for to learn the xpath language for to understand well thath you made for me.&lt;/p&gt;
&lt;p&gt;also thanks&lt;/p&gt;</description></item><item><title>Re: previous Month</title><link>https://www.infopathdev.com:443/forums/thread/52340.aspx</link><pubDate>Tue, 02 Mar 2010 16:21:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52340</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52340.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=52340</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Yes, it should work that way.&amp;nbsp; Feel free to try it out.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: previous Month</title><link>https://www.infopathdev.com:443/forums/thread/52339.aspx</link><pubDate>Tue, 02 Mar 2010 16:19:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52339</guid><dc:creator>dgelosini</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52339.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=52339</wfw:commentRss><description>&lt;p&gt;this should worhk after the change of the year?&lt;/p&gt;
&lt;p&gt;If i change the date of my computer, and now is January that is&amp;nbsp;1 the previous should be 12 so December it works so.&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: previous Month</title><link>https://www.infopathdev.com:443/forums/thread/52338.aspx</link><pubDate>Tue, 02 Mar 2010 16:11:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52338</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52338.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=52338</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I can try to explain how it works if you really need to know, but that formula should work just the way it is without any modification.&lt;/p&gt;&lt;p&gt;&amp;nbsp;But on second thought, the mod 12 part is unnecessary.&amp;nbsp; This should work just as well:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;(substring(xdDate:Today(), 6, 2) - 1) + (substring(xdDate:Today(), 6, 2) = 1) * 12 &lt;br /&gt;&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>Re: previous Month</title><link>https://www.infopathdev.com:443/forums/thread/52337.aspx</link><pubDate>Tue, 02 Mar 2010 15:53:15 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52337</guid><dc:creator>dgelosini</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52337.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=52337</wfw:commentRss><description>&lt;p&gt;Can you explain me the mod 12 entry?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t understand because you use the (substring(xdDate:Today(), 6, 2) = 1) * 12, maybe i don&amp;#39;t undersatnd the logic of&amp;nbsp;mod 12.......&lt;/p&gt;
&lt;p&gt;Please forgive my poor know how of xpath.&lt;/p&gt;</description></item><item><title>Re: previous Month</title><link>https://www.infopathdev.com:443/forums/thread/52293.aspx</link><pubDate>Mon, 01 Mar 2010 16:06:27 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52293</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52293.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=52293</wfw:commentRss><description>&lt;p&gt;To get the number of the previous month, this formula should do the trick:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;(substring(xdDate:Today(), 6, 2) - 1) mod 12 + (substring(xdDate:Today(), 6, 2) = 1) * 12&lt;/p&gt;&lt;/blockquote&gt;</description></item><item><title>previous Month</title><link>https://www.infopathdev.com:443/forums/thread/52291.aspx</link><pubDate>Mon, 01 Mar 2010 15:27:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52291</guid><dc:creator>dgelosini</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52291.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=52291</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m trying to insert in a form a fields where&amp;nbsp; is set the previous month, but i&amp;#39;ve problem to do this, have you a suggestion?&lt;/p&gt;</description></item></channel></rss>