<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Calculate Week Number or beginning/end of week</title><link>https://www.infopathdev.com:443/forums/thread/94208.aspx</link><pubDate>Fri, 08 Nov 2013 22:21:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94208</guid><dc:creator>KevinO</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94208.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=94208</wfw:commentRss><description>&lt;p&gt;Finally got it working.&amp;nbsp; I think I had a couple of spacing issues in the command line. Only been using qrules a couple of months but love it.&lt;/p&gt;
&lt;p&gt;Thanks for all the help&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Calculate Week Number or beginning/end of week</title><link>https://www.infopathdev.com:443/forums/thread/94205.aspx</link><pubDate>Fri, 08 Nov 2013 20:06:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94205</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94205.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=94205</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Okay, I just tested the command in your form - typed:&lt;/p&gt;&lt;p&gt;GetWeekDay /date=2011-02-04 /day=Mo&lt;/p&gt;&lt;p&gt;into the command field, tabbed out, and got:&lt;/p&gt;&lt;p&gt;2011-01-31 in the result.&lt;/p&gt;&lt;p&gt;Where are you trying to use the command?&lt;/p&gt;</description></item><item><title>Re: Calculate Week Number or beginning/end of week</title><link>https://www.infopathdev.com:443/forums/thread/94204.aspx</link><pubDate>Fri, 08 Nov 2013 19:49:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94204</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94204.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=94204</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks - I grabbed the template and then removed it from you post. I don&amp;#39;t need the other data connections. :)&lt;/p&gt;</description></item><item><title>Re: Calculate Week Number or beginning/end of week</title><link>https://www.infopathdev.com:443/forums/thread/94203.aspx</link><pubDate>Fri, 08 Nov 2013 19:44:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94203</guid><dc:creator>KevinO</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94203.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=94203</wfw:commentRss><description>&lt;p&gt;Yes, I do.&amp;nbsp; I&amp;#39;ve attached the form below.&amp;nbsp; I&amp;#39;m in the pharma industry so I had to remove the data connections, except qdabra,&amp;nbsp;due to compliance requirements.&amp;nbsp; If you need to see those I&amp;#39;ll have to work something out&lt;/p&gt;</description></item><item><title>Re: Calculate Week Number or beginning/end of week</title><link>https://www.infopathdev.com:443/forums/thread/94200.aspx</link><pubDate>Fri, 08 Nov 2013 19:22:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94200</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94200.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=94200</wfw:commentRss><description>&lt;p&gt;I should add - you do still have the error node where you can see it when you are trying this, right?&lt;/p&gt;</description></item><item><title>Re: Calculate Week Number or beginning/end of week</title><link>https://www.infopathdev.com:443/forums/thread/94199.aspx</link><pubDate>Fri, 08 Nov 2013 19:16:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94199</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94199.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=94199</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Interesting! Can you attach a copy of your form under the Options tab? I&amp;#39;d like to take a look at it. &lt;/p&gt;</description></item><item><title>Re: Calculate Week Number or beginning/end of week</title><link>https://www.infopathdev.com:443/forums/thread/94198.aspx</link><pubDate>Fri, 08 Nov 2013 19:07:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94198</guid><dc:creator>KevinO</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94198.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=94198</wfw:commentRss><description>&lt;p&gt;You were correct.&amp;nbsp; I was using a version of the form where I had tried using a change event to get the week num.&amp;nbsp; However, on&amp;nbsp;the older form with no code,&amp;nbsp; GetWeekDay is still not generating a result.&amp;nbsp; When I type GenerateGuid in the older form, I do get a result value but nothing with GetWeekDay&lt;/p&gt;</description></item><item><title>Re: Calculate Week Number or beginning/end of week</title><link>https://www.infopathdev.com:443/forums/thread/94197.aspx</link><pubDate>Fri, 08 Nov 2013 18:28:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94197</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94197.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=94197</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Sounds like qRules has been disabled - any chance you accidentally added custom code to your form? If you put the Command field on your form, type in GenerateGuid and tab out, what happens?&lt;/p&gt;</description></item><item><title>Re: Calculate Week Number or beginning/end of week</title><link>https://www.infopathdev.com:443/forums/thread/94196.aspx</link><pubDate>Fri, 08 Nov 2013 18:24:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94196</guid><dc:creator>KevinO</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94196.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=94196</wfw:commentRss><description>&lt;p&gt;Thanks for the&amp;nbsp;quick reply Hilary.&amp;nbsp; I tried this but I can&amp;#39;t seem to get anything working.&amp;nbsp; I created a button and assigned a rule to set the value of the command field and set it to this value &lt;strong&gt;concat(&amp;quot;GetWeekDay /date=&amp;quot;, DeliveryDate, &amp;quot;/day=Mo&amp;quot;)&lt;/strong&gt;&amp;nbsp; I also added the result, error and success fields&amp;nbsp;to my form and those also have no change.&amp;nbsp; It seems like I have everything correct, any ideas?&lt;/p&gt;
&lt;p&gt;Kevin&lt;/p&gt;</description></item><item><title>Re: Calculate Week Number or beginning/end of week</title><link>https://www.infopathdev.com:443/forums/thread/94193.aspx</link><pubDate>Fri, 08 Nov 2013 17:21:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94193</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94193.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=94193</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;You bet. I don&amp;#39;t think we have a way currently to return the week of the year based on a date (but that would be a good add - I&amp;#39;ll put in a feature request). We have a command called &amp;quot;GetWeekDay&amp;quot; that I think you can use to easily get the Monday and Friday based on a date tho. Check the command overview for deets, but here is basic syntax:&lt;/p&gt;&lt;p&gt;&amp;nbsp;concat(&amp;quot;GetWeekDay /date=&amp;quot;, yourdatefield, &amp;quot; /day=Mo&amp;quot;)&lt;/p&gt;&lt;p&gt;Results will be returned to the results node in the data source, you can then copy that to another field. The /day param for Friday is &amp;quot;Fr&amp;quot;.&lt;/p&gt;</description></item><item><title>Calculate Week Number or beginning/end of week</title><link>https://www.infopathdev.com:443/forums/thread/94190.aspx</link><pubDate>Fri, 08 Nov 2013 16:52:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:94190</guid><dc:creator>KevinO</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/94190.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=94190</wfw:commentRss><description>&lt;p&gt;Hi Everyone&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been developing infopath forms for a couple of years but a recent user of qrules.&amp;nbsp; I have a need to calculate either the week number or the beginning (Monday)&amp;nbsp;and ending (Friday) dates of the week for a value selected in date picker.&amp;nbsp; I have seen posts that say this can be done with qrules but I&amp;#39;m not sure how.&amp;nbsp; Could someone provide me a little guidance?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Kevin&lt;/p&gt;</description></item></channel></rss>