<?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: How I can ascertain "ViewContext" by programming (InfoPath C#)</title><link>https://www.infopathdev.com:443/forums/thread/26420.aspx</link><pubDate>Wed, 13 Feb 2008 10:24:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26420</guid><dc:creator>wltr-Germany</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26420.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26420</wfw:commentRss><description>&lt;p&gt;Hi &lt;br /&gt;
 &lt;/p&gt;&lt;p&gt;Is there a possibility to find out this?&lt;/p&gt;&lt;p&gt;Cheers &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: How I can ascertain "ViewContext" by programming (InfoPath C#)</title><link>https://www.infopathdev.com:443/forums/thread/26200.aspx</link><pubDate>Mon, 04 Feb 2008 21:57:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:26200</guid><dc:creator>wltr-Germany</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/26200.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=26200</wfw:commentRss><description>&lt;p&gt;Hi Adam,&lt;/p&gt;&lt;p&gt;thanks for your answer. &lt;/p&gt;&lt;p&gt;Now I would like to specify my problem further. I need the View Context Name of my data field itself&amp;nbsp; (the View Context Name you see in the properties of the data field -&amp;gt; section code: ViewContext:&amp;nbsp; CTRL55).&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Can I get the name &amp;quot;CTRL55&amp;quot; by programming?&lt;/p&gt;&lt;p&gt;Example:&lt;/p&gt;&lt;p&gt;The data field &amp;quot;fieldxy&amp;quot; with the ViewContext &amp;quot;CTRL55&amp;quot; is focused when a Context-Changed-Event occurs. &lt;/p&gt;&lt;p&gt;It is possible to retrieve the name (&amp;quot;fieldxy&amp;quot;) of the data field with the&amp;nbsp;&amp;nbsp; &amp;quot;e.Context.Name&amp;quot;&amp;nbsp; - statement!&lt;br /&gt;&lt;/p&gt;
Now I look for a possibility to retrieve &amp;quot;CTRL55&amp;quot;.&lt;br /&gt;&lt;p&gt;&amp;nbsp;&lt;br /&gt;Cheers&amp;nbsp;&lt;/p&gt;&lt;br /&gt;</description></item><item><title>Re: How I can ascertain "ViewContext" by programming (InfoPath C#)</title><link>https://www.infopathdev.com:443/forums/thread/25967.aspx</link><pubDate>Sun, 27 Jan 2008 00:31:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25967</guid><dc:creator>adamrharding</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25967.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25967</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;Yep, should be.&amp;nbsp; use the code in this web site http://enterprise-solutions.swits.net/infopath2007/retrieve-value-infopath-form-field-code.htm to achieve what you are after.&lt;/p&gt;&lt;p&gt;It references your field as to its location in the data structure and its name to pull the value back.&amp;nbsp; It has both VB and c# code&lt;/p&gt;&lt;p&gt;Cheers&lt;br /&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>How I can ascertain "ViewContext" by programming (InfoPath C#)</title><link>https://www.infopathdev.com:443/forums/thread/25852.aspx</link><pubDate>Wed, 23 Jan 2008 10:37:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:25852</guid><dc:creator>wltr-Germany</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/25852.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=25852</wfw:commentRss><description>&lt;p class="MsoNormal"&gt;Hi,&lt;/p&gt;&lt;p class="MsoNormal"&gt;can anyone tell me if it is possible to get the ViewContext-Value (e.g. &amp;quot;CTRL208&amp;quot;) of the current data field (data field is focused) by programming (C#&amp;nbsp;&amp;nbsp; e.context.????). I want to receive the value for the current data field in the procedures&amp;nbsp; &amp;quot;Context-Changed-Event&amp;quot; and in the &amp;quot;Changed-Event&amp;quot;.&lt;br /&gt;&lt;/p&gt;&amp;nbsp;&lt;br /&gt;Thank you very much for your help!</description></item></channel></rss>