<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Infopath codeless programming (walkthrough) 2</title>
	<atom:link href="http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/</link>
	<description>Stuff published for no reason (cool codeless infopath solutions mostly)</description>
	<lastBuildDate>Thu, 05 Nov 2009 22:23:30 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: alecpojidaev</title>
		<link>http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/#comment-327</link>
		<dc:creator>alecpojidaev</dc:creator>
		<pubDate>Fri, 23 Oct 2009 14:17:16 +0000</pubDate>
		<guid isPermaLink="false">http://alecpojidaev.wordpress.com/?p=105#comment-327</guid>
		<description>Thats how working days are calculated. Monday and Friday are 2 working days so they have to be counted.</description>
		<content:encoded><![CDATA[<p>Thats how working days are calculated. Monday and Friday are 2 working days so they have to be counted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Saran</title>
		<link>http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/#comment-326</link>
		<dc:creator>Saran</dc:creator>
		<pubDate>Fri, 23 Oct 2009 11:41:19 +0000</pubDate>
		<guid isPermaLink="false">http://alecpojidaev.wordpress.com/?p=105#comment-326</guid>
		<description>When i enter start date as Friday and End date as Monday then my field only calculates 2 days of my working day. Dont calculates the sat and sun. how can i perform this.. thnX Advance</description>
		<content:encoded><![CDATA[<p>When i enter start date as Friday and End date as Monday then my field only calculates 2 days of my working day. Dont calculates the sat and sun. how can i perform this.. thnX Advance</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alecpojidaev</title>
		<link>http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/#comment-267</link>
		<dc:creator>alecpojidaev</dc:creator>
		<pubDate>Mon, 10 Aug 2009 18:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://alecpojidaev.wordpress.com/?p=105#comment-267</guid>
		<description>Make sure your secondary datasource has the same name (case sensitive).</description>
		<content:encoded><![CDATA[<p>Make sure your secondary datasource has the same name (case sensitive).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gil</title>
		<link>http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/#comment-266</link>
		<dc:creator>Gil</dc:creator>
		<pubDate>Mon, 10 Aug 2009 17:44:36 +0000</pubDate>
		<guid isPermaLink="false">http://alecpojidaev.wordpress.com/?p=105#comment-266</guid>
		<description>Hello again.. :)

We&#039;ll I&#039;m trouble shooting and narrow it down and left my text field &quot;TodayIs&quot; with just the first rules copied expression &quot;cut/paste&quot; and the if &quot;TodayIs&quot; contains &quot;;&quot;, then in testing I had the aciton set my date field to &quot;1&quot;. This did not work making me see that the expression when copied and pasted does not work for me. I do have the resource file as a secondary data connection to recieve also.

So, regarding the query:
 xdDate:AddDays(xdXDocument:GetDOM(&quot;daysOfTheWeek&quot;)/somestuff/basepoint, substring-before(., &quot;;&quot;)) != xdDate:Today()

I&#039;m just choosing for my rule&#039;s condition the option of &quot;The Expression&quot; and pasting in the expression, the creating the simple if the field includes the &quot;;&quot;, and it does not work for me. What can I do with this expression to duplicate it on my form please?</description>
		<content:encoded><![CDATA[<p>Hello again.. :)</p>
<p>We&#8217;ll I&#8217;m trouble shooting and narrow it down and left my text field &#8220;TodayIs&#8221; with just the first rules copied expression &#8220;cut/paste&#8221; and the if &#8220;TodayIs&#8221; contains &#8220;;&#8221;, then in testing I had the aciton set my date field to &#8220;1&#8243;. This did not work making me see that the expression when copied and pasted does not work for me. I do have the resource file as a secondary data connection to recieve also.</p>
<p>So, regarding the query:<br />
 xdDate:AddDays(xdXDocument:GetDOM(&#8220;daysOfTheWeek&#8221;)/somestuff/basepoint, substring-before(., &#8220;;&#8221;)) != xdDate:Today()</p>
<p>I&#8217;m just choosing for my rule&#8217;s condition the option of &#8220;The Expression&#8221; and pasting in the expression, the creating the simple if the field includes the &#8220;;&#8221;, and it does not work for me. What can I do with this expression to duplicate it on my form please?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alecpojidaev</title>
		<link>http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/#comment-265</link>
		<dc:creator>alecpojidaev</dc:creator>
		<pubDate>Mon, 10 Aug 2009 15:52:33 +0000</pubDate>
		<guid isPermaLink="false">http://alecpojidaev.wordpress.com/?p=105#comment-265</guid>
		<description>Edit: Unsupported function problem fixed.</description>
		<content:encoded><![CDATA[<p>Edit: Unsupported function problem fixed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zach</title>
		<link>http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/#comment-264</link>
		<dc:creator>Zach</dc:creator>
		<pubDate>Mon, 10 Aug 2009 15:35:46 +0000</pubDate>
		<guid isPermaLink="false">http://alecpojidaev.wordpress.com/?p=105#comment-264</guid>
		<description>Hi sorry - the question was in respective to counting the number of days between two date pickers (inclusive of weekends).  Specifically the instructions abover about startDate rule, endDate rule, and dayDifference rules.  Like i mentioned in my original question - the form works perfectly until I publish the form to a browser-enabled forms library in Sharepoint.  When I launch the form from that location, I get the error mentioned above.</description>
		<content:encoded><![CDATA[<p>Hi sorry &#8211; the question was in respective to counting the number of days between two date pickers (inclusive of weekends).  Specifically the instructions abover about startDate rule, endDate rule, and dayDifference rules.  Like i mentioned in my original question &#8211; the form works perfectly until I publish the form to a browser-enabled forms library in Sharepoint.  When I launch the form from that location, I get the error mentioned above.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alecpojidaev</title>
		<link>http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/#comment-263</link>
		<dc:creator>alecpojidaev</dc:creator>
		<pubDate>Mon, 10 Aug 2009 15:28:59 +0000</pubDate>
		<guid isPermaLink="false">http://alecpojidaev.wordpress.com/?p=105#comment-263</guid>
		<description>It&#039;s hard to tell whats wrong with your form. Probably data types are mismatched.  Make sure all field types are the same as in my form.

Also may be you could try to modify the form from the other end? Use my form as starting point then add the logic you need. I&#039;ve tested that form in browser enabled forms it works just perfect.</description>
		<content:encoded><![CDATA[<p>It&#8217;s hard to tell whats wrong with your form. Probably data types are mismatched.  Make sure all field types are the same as in my form.</p>
<p>Also may be you could try to modify the form from the other end? Use my form as starting point then add the logic you need. I&#8217;ve tested that form in browser enabled forms it works just perfect.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gil</title>
		<link>http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/#comment-262</link>
		<dc:creator>Gil</dc:creator>
		<pubDate>Mon, 10 Aug 2009 15:01:54 +0000</pubDate>
		<guid isPermaLink="false">http://alecpojidaev.wordpress.com/?p=105#comment-262</guid>
		<description>I&#039;m interested in the &quot;TodayIs&quot; field and funciton alone where it auto sets today as it&#039;s value then it formats itself as the day of the week. I downloaded  the &quot;WhatDayIsToday&quot; template and see how with one resource file, and then 2 rules with conditions this deal is done. I&#039;ve created the very same field named &quot;TodayIs&quot;, I uploaded the resource file on my form and added it as a dataconnection, I then using the fx button have copied the formula (while having the edit xpath pressed) to simply recreate via copy paste the same funtion but mine never works.

The Rule 1 if left alone on mine gives me no value, and if I enter into the field &quot;;&quot; I get &quot;nan,nan&quot;. The second rule after copy/paste always is upset about the formula, the very same one working right in my face... AhHH..lol.... What step might I be missing?

I make a field called &quot;TodayIs&quot;, I extract then upload the resource file, add it as datasource, I copy/paste the conditions and rules using the xpath advanced while copy and while paste and no dice.

Thanks for you help on this.</description>
		<content:encoded><![CDATA[<p>I&#8217;m interested in the &#8220;TodayIs&#8221; field and funciton alone where it auto sets today as it&#8217;s value then it formats itself as the day of the week. I downloaded  the &#8220;WhatDayIsToday&#8221; template and see how with one resource file, and then 2 rules with conditions this deal is done. I&#8217;ve created the very same field named &#8220;TodayIs&#8221;, I uploaded the resource file on my form and added it as a dataconnection, I then using the fx button have copied the formula (while having the edit xpath pressed) to simply recreate via copy paste the same funtion but mine never works.</p>
<p>The Rule 1 if left alone on mine gives me no value, and if I enter into the field &#8220;;&#8221; I get &#8220;nan,nan&#8221;. The second rule after copy/paste always is upset about the formula, the very same one working right in my face&#8230; AhHH..lol&#8230;. What step might I be missing?</p>
<p>I make a field called &#8220;TodayIs&#8221;, I extract then upload the resource file, add it as datasource, I copy/paste the conditions and rules using the xpath advanced while copy and while paste and no dice.</p>
<p>Thanks for you help on this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alecpojidaev</title>
		<link>http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/#comment-261</link>
		<dc:creator>alecpojidaev</dc:creator>
		<pubDate>Fri, 07 Aug 2009 18:37:10 +0000</pubDate>
		<guid isPermaLink="false">http://alecpojidaev.wordpress.com/?p=105#comment-261</guid>
		<description>It would be nice to know what form are you talking about. That post has 4 of them.</description>
		<content:encoded><![CDATA[<p>It would be nice to know what form are you talking about. That post has 4 of them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zach</title>
		<link>http://alecpojidaev.wordpress.com/2008/12/30/infopath-codeless-programming-walkthrough-2/#comment-260</link>
		<dc:creator>Zach</dc:creator>
		<pubDate>Fri, 07 Aug 2009 15:37:49 +0000</pubDate>
		<guid isPermaLink="false">http://alecpojidaev.wordpress.com/?p=105#comment-260</guid>
		<description>Hi - thank you for the code - the concept is great, especially doing it without code.  When I followed your instructions  and previewed the form it looks/works great.  However, when I publish the form to a form library in Sharepoint and launch the form via browser - I get the following error.  Any ideas?

&quot;An error occurred in the form&#039;s rules or code. The number of rule actions or the number of calls to the OnAfterChange event for a single update in the data exceeded the maximum limit. The rules or code may be causing an infinite loop. To prevent this, ensure that the rule action or event handler does not update the data which causes the same rule action or event handler to execute. &quot;</description>
		<content:encoded><![CDATA[<p>Hi &#8211; thank you for the code &#8211; the concept is great, especially doing it without code.  When I followed your instructions  and previewed the form it looks/works great.  However, when I publish the form to a form library in Sharepoint and launch the form via browser &#8211; I get the following error.  Any ideas?</p>
<p>&#8220;An error occurred in the form&#8217;s rules or code. The number of rule actions or the number of calls to the OnAfterChange event for a single update in the data exceeded the maximum limit. The rules or code may be causing an infinite loop. To prevent this, ensure that the rule action or event handler does not update the data which causes the same rule action or event handler to execute. &#8220;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
