<?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: Please help with this error</title><link>https://www.infopathdev.com:443/forums/thread/11361.aspx</link><pubDate>Mon, 26 Mar 2007 14:25:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11361</guid><dc:creator>B.Shiva Prasad</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11361.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11361</wfw:commentRss><description>hi edove,&lt;br /&gt;&lt;br /&gt;put "/" initially and try to write the XPath manually once, with case sensitive. I worked around with your specification and is working for me.</description></item><item><title>Re: Please help with this error</title><link>https://www.infopathdev.com:443/forums/thread/11360.aspx</link><pubDate>Mon, 26 Mar 2007 14:23:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11360</guid><dc:creator>edove</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11360.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11360</wfw:commentRss><description>Still doesn't work for me for some reason!</description></item><item><title>Re: Please help with this error</title><link>https://www.infopathdev.com:443/forums/thread/11359.aspx</link><pubDate>Mon, 26 Mar 2007 14:02:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11359</guid><dc:creator>K.Ramana Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11359.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11359</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I tried with code you have given, it is worked for me, (i.e,i did not get any error).&lt;br /&gt;</description></item><item><title>Re: Please help with this error</title><link>https://www.infopathdev.com:443/forums/thread/11358.aspx</link><pubDate>Mon, 26 Mar 2007 13:57:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11358</guid><dc:creator>edove</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11358.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11358</wfw:commentRss><description>Ok I tried removing the initial "/" - same result.&lt;br /&gt;&lt;br /&gt;According to the exBox the xPath is this "my:header/my:costingsComplete", this didn't work either.&lt;br /&gt;&lt;br /&gt;Also changed "header" to Header but that didn't work. The group "header" is one I created and it doesn't have a capital "H" so it should be as typed.&lt;br /&gt;&lt;br /&gt;Thanks for everyones help so far. I also have the exact same code below trying to do the same thing with a different field. It always prompts but then can't seem to find the field.</description></item><item><title>Re: Please help with this error</title><link>https://www.infopathdev.com:443/forums/thread/11357.aspx</link><pubDate>Mon, 26 Mar 2007 13:47:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11357</guid><dc:creator>K.Ramana Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11357.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11357</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I think, In Xpath you typed as "header", but in datasource it is "Header".&lt;br /&gt;&lt;br /&gt;Please correct it, then it will work for you.&lt;br /&gt;&lt;br /&gt;I hope this will work for you.</description></item><item><title>Re: Please help with this error</title><link>https://www.infopathdev.com:443/forums/thread/11356.aspx</link><pubDate>Mon, 26 Mar 2007 13:43:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11356</guid><dc:creator>nukkumatti</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11356.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11356</wfw:commentRss><description>Try to delete the first "/" in front of my:myFields.&lt;br /&gt;You can actually always use an Expression Box to find out the correct xPath. Just put the ExBox to your form, point it to the control/node you want to know the xPath for and then check the "Advanced - edit xPath" check box.</description></item><item><title>Re: Please help with this error</title><link>https://www.infopathdev.com:443/forums/thread/11355.aspx</link><pubDate>Mon, 26 Mar 2007 13:23:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11355</guid><dc:creator>edove</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11355.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11355</wfw:commentRss><description>Well this is what I get if I go to the field under Data Sources and select Copy XPath. The field is in a group called Header under myFields.</description></item><item><title>Re: Please help with this error</title><link>https://www.infopathdev.com:443/forums/thread/11354.aspx</link><pubDate>Mon, 26 Mar 2007 13:19:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:11354</guid><dc:creator>K.Ramana Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/11354.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=11354</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Check once, this Xpath is correct("/my:myFields/my:header/my:costingsComplete"):&lt;br /&gt;&lt;br /&gt;I hope this will help for you.</description></item><item><title>Please help with this error</title><link>https://www.infopathdev.com:443/forums/thread/6144.aspx</link><pubDate>Mon, 26 Mar 2007 12:59:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6144</guid><dc:creator>edove</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6144.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6144</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;I'm trying to call the code below from a button on my form and for some reason I keep getting this error:&lt;br /&gt;&lt;br /&gt;"'XDocument.DOM.selectSingleNode(...)' is null or not an object"&lt;br /&gt;&lt;br /&gt;The code:&lt;br /&gt;&lt;br /&gt;function btnCosting::OnClick(eventObj)&lt;br /&gt;{&lt;br /&gt;var clicked = XDocument.UI.Confirm("You will not be able to undo this operation. Do you wish to continue?",1);&lt;br /&gt;if(clicked == 1) {&lt;br /&gt;XDocument.DOM.selectSingleNode("/my:myFields/my:header/my:costingsComplete").text = 1;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;I can't understand why..</description></item></channel></rss>