<?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>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: identify row in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/17822.aspx</link><pubDate>Wed, 25 Jan 2006 20:35:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17822</guid><dc:creator>fredarwin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17822.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17822</wfw:commentRss><description>Thanks MFaus, but i have the same problem.&lt;br /&gt;with&lt;br /&gt;var idx = eventObj.Parent.selectSingleNode("@idavance");&lt;br /&gt;XDocument.UI.Alert(idx.text);--&amp;gt; Error:Object required.&lt;br /&gt;&lt;br /&gt;Why idx is null?&lt;br /&gt;&lt;br /&gt;Thanks for the link to learn XPath, i take the course.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Fred Darwin Villareal</description></item><item><title>Re: identify row in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/17821.aspx</link><pubDate>Tue, 24 Jan 2006 19:20:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17821</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17821.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17821</wfw:commentRss><description>Yes, you can do this.&lt;br /&gt;&lt;br /&gt;Your source might need to be "normalized" so try this line instead:&lt;br /&gt;&lt;br /&gt;var idx = eventObj.Parent.selectSingleNode( "@idavance" );&lt;br /&gt;&lt;br /&gt;The error that you listed - null or not an object - is almost always because your XPath is wrong.  Check out this tutorial for a helpful start: &lt;a target="_blank" href=http://www.w3schools.com/xpath/default.asp&gt;http://www.w3schools.com/xpath/default.asp&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;InfoPath Dev Texas&lt;br /&gt;</description></item><item><title>Re: identify row in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/17820.aspx</link><pubDate>Tue, 24 Jan 2006 18:32:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17820</guid><dc:creator>fredarwin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17820.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17820</wfw:commentRss><description>i try this too:&lt;br /&gt;var strUserName = eventObj.Source.selectSingleNode("@idavance").text);&lt;br /&gt;&lt;br /&gt;IP, send me : Source.selectSingleNode(...)' is null or not is a object.&lt;br /&gt;&lt;br /&gt;Is there a way to extract a piece of data in a field on the line that currently has the focus and then do a comparison with that single data point?&lt;br /&gt;&lt;br /&gt;Fred Darwin Villareal</description></item><item><title>Re: identify row in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/17819.aspx</link><pubDate>Tue, 24 Jan 2006 16:38:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17819</guid><dc:creator>fredarwin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17819.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17819</wfw:commentRss><description>MFaus i try this:&lt;br /&gt;&lt;br /&gt;var idx = eventObj.Source.parentNode.selectSingleNode("@idavance");&lt;br /&gt;XDocument.UI.Alert(idx.text);&lt;br /&gt;&lt;br /&gt;But in second line jscript send me error.&lt;br /&gt;&lt;br /&gt;How i can do a data reference to specific cell on repeating table?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Fred Darwin Villareal</description></item><item><title>Re: identify row in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/17818.aspx</link><pubDate>Tue, 24 Jan 2006 07:05:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17818</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17818.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17818</wfw:commentRss><description>Fred,&lt;br /&gt;&lt;br /&gt;Try something a little more like this:&lt;br /&gt;&lt;br /&gt;var idx = eventObj.Source.parentNode.selectSingleNode( "@idavance" );&lt;br /&gt;&lt;br /&gt;You can use the eventObj to do relative selecting of XML. I hope this helps, let us know how if you have any more questions.  Also, if you search around on this forum you might find several code examples to help you out a little more.&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Matt Faus&lt;br /&gt;InfoPath Dev Texas&lt;br /&gt;</description></item><item><title>identify row in a Repeating Table</title><link>https://www.infopathdev.com:443/forums/thread/17515.aspx</link><pubDate>Mon, 23 Jan 2006 16:50:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17515</guid><dc:creator>fredarwin</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17515.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17515</wfw:commentRss><description>How i could take a value from a field of a repeating table before i delete that row.&lt;br /&gt;&lt;br /&gt;I do this, but ip send me a error.&lt;br /&gt;&lt;br /&gt;function msoxd__Avances::OnBeforeChange(eventObj)&lt;br /&gt;{&lt;br /&gt; if (eventObj.Operation=="Delete" &amp;&amp; oNode=="Compromisos")&lt;br /&gt;   {&lt;br /&gt;     var idx=eventObj.Source.selectSingleNode&lt;br /&gt;     ("/dfs:myFields/dfs:dataFields/.../idavance");&lt;br /&gt;     XDocument.UI.Alert(idx.text); ---&amp;gt;('error here!!')&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Fred Darwin Villareal</description></item></channel></rss>