<?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: retitled : Node Type in c#</title><link>https://www.infopathdev.com:443/forums/thread/29565.aspx</link><pubDate>Sat, 21 Jun 2008 04:14:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29565</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29565.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=29565</wfw:commentRss><description>&lt;p&gt;Hi, Yurnero:&lt;/p&gt;
&lt;p&gt;When I tested this, I needed to remove the xsi:nil attribute in order to successfully set the value of a double. Please see this blog post from the InfoPath Team for more information on this: &lt;a href="http://blogs.msdn.com/infopath/archive/2006/11/28/the-xsi-nil-attribute.aspx"&gt;http://blogs.msdn.com/infopath/archive/2006/11/28/the-xsi-nil-attribute.aspx&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: retitled : Node Type in c#</title><link>https://www.infopathdev.com:443/forums/thread/29315.aspx</link><pubDate>Wed, 11 Jun 2008 15:09:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29315</guid><dc:creator>Yurnero_</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29315.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=29315</wfw:commentRss><description>&lt;p&gt;The basic use (msdn example) show me a : NotImplementedException&lt;/p&gt;
&lt;p&gt;&amp;nbsp;On msdn &lt;/p&gt;
&lt;p&gt;Although the implementation of the &lt;b&gt;XPathNavigator&lt;/b&gt; object in InfoPath 2007 exposes the &lt;a id="ctl00_rs1_mainContentContainer_ctl35" href="http://msdn.microsoft.com/en-us/library/system.xml.xpath.xpathnavigator.settypedvalue.aspx"&gt;SetTypedValue&lt;/a&gt; method—which is used to set a node using a value of a specific type—InfoPath does not implement that method. You must use the &lt;b&gt;SetValue&lt;/b&gt; method instead, and pass a string value of the correct format for the data type of the node.&lt;/p&gt;
&lt;p&gt;So What is the correct format for double ?_? if I pass a string &amp;quot;3.1&amp;quot; it fails&lt;/p&gt;</description></item><item><title>retitled : Node Type in c#</title><link>https://www.infopathdev.com:443/forums/thread/28992.aspx</link><pubDate>Wed, 28 May 2008 16:10:10 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28992</guid><dc:creator>Yurnero_</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28992.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28992</wfw:commentRss><description>&lt;p&gt;edited :&lt;/p&gt;
&lt;p&gt;Here, I got the real problem, the field which must be promote so sharepoint must be a double, in order to sum properly the data.&lt;/p&gt;
&lt;p&gt;And I used the code &lt;/p&gt;&lt;font size="2"&gt;MainDataSource.CreateNavigator().SelectSingleNode(&lt;/font&gt;&lt;font color="#800000" size="2"&gt;&amp;quot;/my:DemandeConge/my:nb_jours&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;,&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; 
&lt;p&gt;NamespaceManager)&lt;/font&gt;&lt;font size="2"&gt;.SetValue(DateDif.ToString());&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Which is not good, because the type must be double. And the SetTypedValue &amp;#39;IsNotImplemented&amp;#39;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;font size="2"&gt;Sorry for the misunderstanding on my prob, anything to solve this &amp;#39;SetTypedValue&amp;#39; ?&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>retitled : Node Type in c#</title><link>https://www.infopathdev.com:443/forums/thread/28976.aspx</link><pubDate>Wed, 28 May 2008 06:54:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28976</guid><dc:creator>Yurnero_</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28976.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28976</wfw:commentRss><description>&lt;p&gt;This is it.&lt;/p&gt;
&lt;p&gt;Despite, I&amp;#39;m very surprised, because I see many examples where it was done with &amp;#39;string&amp;#39;. Maybe It was because I manage to calculate the number with code, I didnt notice it was so important, reading everywhere sum doesnt care for typo. And someone show me eval() was not usefull. &lt;/p&gt;
&lt;p&gt;Well now I know that NaN Value are usually a format error. And Tutorial are &amp;#39;as is&amp;#39;&lt;/p&gt;
&lt;p&gt;Thanks for your help.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;edit : my main problem cames from the fact I tested&amp;nbsp;the sum (forms) with decimal number (needed to transform half-days in 0,5, when I change the field type in double, the code I used need to insert strings in the node, I got a new prob there)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Sum Repeating Table - second data source - crash</title><link>https://www.infopathdev.com:443/forums/thread/28962.aspx</link><pubDate>Tue, 27 May 2008 16:20:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28962</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28962.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28962</wfw:commentRss><description>&lt;p&gt;Have you listed all of the data to verify there are values and they are numeric?&lt;/p&gt;
&lt;p&gt;I would maybe go back to the original form the value is coming from and try to set it to a numeric value so that you do not have the string conversion issue. Or add another numeric field which defaults from the value of the text field and then sum that.&lt;/p&gt;</description></item><item><title>retitled : Node Type in c#</title><link>https://www.infopathdev.com:443/forums/thread/28961.aspx</link><pubDate>Tue, 27 May 2008 14:56:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28961</guid><dc:creator>Yurnero_</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28961.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28961</wfw:commentRss><description>&lt;p&gt;I think it&amp;#39;s a textfield, I promote colomn, but I couldn&amp;#39;t change type.&lt;/p&gt;
&lt;p&gt;If I select my second data source, field type is a string too. But I read sum() can convert types ..&lt;/p&gt;
&lt;p&gt;Yest I have tried to sum just the field but got a &amp;#39;NaN&amp;#39;. Someone show me that it was possible with a secondary source, and that sum(column) will do the job, but still :( not with me ..&lt;/p&gt;
&lt;p&gt;I&amp;#39;m using eval, because I read topics about &amp;#39;repeating table sum etc.&amp;#39; and they all used that, because this is in a &amp;#39;repeating context&amp;#39; I guess. I&amp;#39;m wrong about that part ? :/&lt;/p&gt;</description></item><item><title>Re: Sum Repeating Table - second data source - crash</title><link>https://www.infopathdev.com:443/forums/thread/28960.aspx</link><pubDate>Tue, 27 May 2008 14:43:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28960</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28960.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28960</wfw:commentRss><description>&lt;p&gt;Is it a text field in SP or a number?&lt;/p&gt;
&lt;p&gt;What does the field type come into InfoPath as? What does it refer to it as in your data source and properties?&lt;/p&gt;
&lt;p&gt;Why are you using eval? Have you tried just summing the field itself without the eval?&lt;/p&gt;</description></item><item><title>retitled : Node Type in c#</title><link>https://www.infopathdev.com:443/forums/thread/28958.aspx</link><pubDate>Tue, 27 May 2008 14:09:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:28958</guid><dc:creator>Yurnero_</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/28958.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=28958</wfw:commentRss><description>&lt;p&gt;Hello everyone, &lt;/p&gt;
&lt;p&gt;&amp;nbsp;The title explain the reason of my post, despite I&amp;#39;ve browse dozen of topics speaking about it. Saying all the same thing, it don&amp;#39;t work in my french infopath.&lt;/p&gt;
&lt;p&gt;Context : &lt;br /&gt;I made a repeating table linked to a sharepoint form library where i got number in a column.(numbers are extracted from forms)&lt;br /&gt;The display of the table is proper, meaning I&amp;nbsp;still see the result of my&amp;nbsp;SP List if no sum test, but no way i can sum those numbers.&lt;br /&gt;Infopath&amp;nbsp;won&amp;#39;t open when i use the french equivalent to&lt;/p&gt;
&lt;p&gt;sum(eval(repeating group, &amp;#39;field_to_sum&amp;#39;)) &lt;/p&gt;
&lt;p&gt;and if I change syntax, formulae is not supported.&lt;/p&gt;
&lt;p&gt;I guess It&amp;#39;s something with the second data source ...&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Anyone who can see where can be my mistake ?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>