<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Track Hyper Link Clicks</title><link>https://www.infopathdev.com:443/forums/thread/88204.aspx</link><pubDate>Tue, 19 Mar 2013 21:22:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88204</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88204.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=88204</wfw:commentRss><description>&lt;p&gt;Fantastic - sorry I&amp;#39;d not had a chance to get back to your last post yet.&lt;/p&gt;</description></item><item><title>Re: Track Hyper Link Clicks</title><link>https://www.infopathdev.com:443/forums/thread/88203.aspx</link><pubDate>Tue, 19 Mar 2013 21:19:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88203</guid><dc:creator>markwitte</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88203.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=88203</wfw:commentRss><description>I got this working finally. Again thanks for all the help that you have been.</description></item><item><title>Re: Track Hyper Link Clicks</title><link>https://www.infopathdev.com:443/forums/thread/88197.aspx</link><pubDate>Tue, 19 Mar 2013 19:06:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88197</guid><dc:creator>markwitte</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88197.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=88197</wfw:commentRss><description>so both the QFR_Number and the hyperlink are in the same group. The number is what I am trying to get when the hyperlink is clicked. So if i use the relative path will I be able to get the number that goes with hyperlink that got clicked?</description></item><item><title>Re: Track Hyper Link Clicks</title><link>https://www.infopathdev.com:443/forums/thread/88190.aspx</link><pubDate>Tue, 19 Mar 2013 18:23:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88190</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88190.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=88190</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Well - you are using an absolute XPath which will get the first one, sure. Is the ID for the hyperlink a field inside the group? Use a relative XPath to get what you need - ../ will take you from the ID to the group (if it is a first level child inside the group - sorry, I&amp;#39;ve got no idea what your data structure looks like) - so you should be able to do something like e.Context.SelectSingleNode(&amp;quot;../my:othernodeinthesamegroup&amp;quot;, NamespaceManager)&lt;/p&gt;</description></item><item><title>Re: Track Hyper Link Clicks</title><link>https://www.infopathdev.com:443/forums/thread/88188.aspx</link><pubDate>Tue, 19 Mar 2013 18:17:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88188</guid><dc:creator>markwitte</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88188.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=88188</wfw:commentRss><description>Ok so that would work but the node that I need isn&amp;#39;t actually the same one that gets clicked. It is in the same group but it is the ID of the hyperlink. Is there a way to get that name without doing SelectSingleNode because that just gets the first instance.</description></item><item><title>Re: Track Hyper Link Clicks</title><link>https://www.infopathdev.com:443/forums/thread/88176.aspx</link><pubDate>Tue, 19 Mar 2013 15:31:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88176</guid><dc:creator>markwitte</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88176.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=88176</wfw:commentRss><description>Alright I will try to get some time to mess around with it a bit today and report back with my findings. Thanks again for all of your help.</description></item><item><title>Re: Track Hyper Link Clicks</title><link>https://www.infopathdev.com:443/forums/thread/88172.aspx</link><pubDate>Tue, 19 Mar 2013 15:23:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88172</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88172.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=88172</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Oh - I wasn&amp;#39;t suggesting alternate approaches - I think the only way you are going to be able to track clicks on a hyperlink control is via the context changed event. I just haven&amp;#39;t run into this particular requirement before. There are other cases for using the context changed event - but again, it just isn&amp;#39;t something I&amp;#39;ve had to deal with very often.&lt;/p&gt;</description></item><item><title>Re: Track Hyper Link Clicks</title><link>https://www.infopathdev.com:443/forums/thread/88170.aspx</link><pubDate>Tue, 19 Mar 2013 14:53:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88170</guid><dc:creator>markwitte</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88170.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=88170</wfw:commentRss><description>What do you use for a situation like this?</description></item><item><title>Re: Track Hyper Link Clicks</title><link>https://www.infopathdev.com:443/forums/thread/88168.aspx</link><pubDate>Tue, 19 Mar 2013 14:45:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88168</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88168.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=88168</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Sorry - didn&amp;#39;t see your reply yesterday - I don&amp;#39;t use the context changed event much - but you should be able to get the name of the node that has changed - looks like &lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.formevents.contextchanged.aspx"&gt;e.Context.Name&lt;/a&gt;&amp;nbsp;should get you that. You could run your code based on whether the correct node had changed. &lt;a href="http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.contextchangedeventargs.context(v=office.11).aspx"&gt;e.Context&lt;/a&gt; is an XPathNavigator - you should be able to get the value you need from there.&lt;/p&gt;</description></item><item><title>Re: Track Hyper Link Clicks</title><link>https://www.infopathdev.com:443/forums/thread/88166.aspx</link><pubDate>Tue, 19 Mar 2013 14:29:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88166</guid><dc:creator>markwitte</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88166.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=88166</wfw:commentRss><description>Do you have any thoughts on how to cycle through the nodes when I am using the on_ContextChanged?</description></item><item><title>Re: Track Hyper Link Clicks</title><link>https://www.infopathdev.com:443/forums/thread/88111.aspx</link><pubDate>Mon, 18 Mar 2013 14:49:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88111</guid><dc:creator>markwitte</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88111.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=88111</wfw:commentRss><description>Yes I am handling this in the on contextchanged event.</description></item><item><title>Re: Track Hyper Link Clicks</title><link>https://www.infopathdev.com:443/forums/thread/88074.aspx</link><pubDate>Fri, 15 Mar 2013 21:06:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88074</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88074.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=88074</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Yup - I noticed that in your code, figured one thing at a time. Where is your code executing - in the context changed event?&lt;/p&gt;</description></item><item><title>Re: Track Hyper Link Clicks</title><link>https://www.infopathdev.com:443/forums/thread/88072.aspx</link><pubDate>Fri, 15 Mar 2013 20:21:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88072</guid><dc:creator>markwitte</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88072.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=88072</wfw:commentRss><description>Ok so I got it to insert into the database. YEAH!!!!!! Thank you so much for all of your help with this. One more thing if that is alright. The code that I am using only brings back the first instance of QFR_Number field on the form even when i click the second instance in a repeating section. Is there a way to figure out what &amp;quot;node&amp;quot;, or how ever you reference it, is actually clicked? Again thank you so much for your help</description></item><item><title>Re: Track Hyper Link Clicks</title><link>https://www.infopathdev.com:443/forums/thread/88070.aspx</link><pubDate>Fri, 15 Mar 2013 20:04:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88070</guid><dc:creator>markwitte</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88070.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=88070</wfw:commentRss><description>Ok so i do have the auto generated ID column set as my PK because the QFR_Number is going to be repeated. From what I read in your post is the only thing that I need to do in my stored proc is to set implicit_transactions off?</description></item><item><title>Re: Track Hyper Link Clicks</title><link>https://www.infopathdev.com:443/forums/thread/88069.aspx</link><pubDate>Fri, 15 Mar 2013 19:56:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:88069</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/88069.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=88069</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;a href="http://www.infopathdev.com/blogs/hilary/archive/2008/11/21/fun-with-sequential-form-ids-sql-and-sprocs.aspx"&gt;Here&amp;#39;s&lt;/a&gt; a blog post of mine from ages ago, and at the bottom you&amp;#39;ll see I mention an issue with my stored proc &amp;amp; that Jimmy had made a suggestion that worked for me. Try setting&amp;nbsp;implicit_transactions to off in your stored proc.&lt;/p&gt;</description></item></channel></rss>