<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Control binding is not supported Error after adding Filter to Secondary Datasource Value</title><link>https://www.infopathdev.com:443/forums/thread/70523.aspx</link><pubDate>Thu, 22 Sep 2011 10:42:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:70523</guid><dc:creator>Beircheart</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/70523.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=70523</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have created a Browser enabled form in Infopath 2010. I have a drop down list on my main view that&amp;nbsp;pulls from a&amp;nbsp;secondary datasource using one secondary datasource field as a value and another as a display name. This works fine&lt;/p&gt;
&lt;p&gt;Now,&amp;nbsp;when I try&amp;nbsp;to display this&amp;nbsp;as a calculated value in a Print View, I get the &amp;quot;Control binding is not supported&amp;quot; error. I understand what the error is telling me so now I&amp;#39;ll explain the part I don&amp;#39;t understand&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried setting 2 different values in my Calculated Value control:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;(1)&lt;/strong&gt; xdXDocument:GetDOM(&amp;quot;Faculties&amp;quot;)/dfs:myFields/dfs:dataFields/tns:FacultiesResponse/tns:FacultiesResult/Faculties/Faculty/DOM_NAME[../DOM_CODE = xdXDocument:get-DOM()/my:ProgrammeForm/my:Descriptors/my:HostFaculty]&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;(2)&lt;/strong&gt; xdXDocument:GetDOM(&amp;quot;Faculties&amp;quot;)/dfs:myFields/dfs:dataFields/tns:FacultiesResponse/tns:FacultiesResult/Faculties/Faculty/DOM_NAME&lt;/p&gt;
&lt;p&gt;Using value &lt;strong&gt;(1)&lt;/strong&gt;, I get the control binding error, however if&amp;nbsp;I set the Calculated Value control to value &lt;strong&gt;(2)&lt;/strong&gt;&amp;nbsp;(i.e. Remove filter) then the error disappears... This doesn&amp;#39;t make sense to me because when a filter is included it should return less values and in my case, it will return 1 so why would the filter trigger the error? Is this simply a bug or am I missing something? If it is a bug, what&amp;#39;s the best&amp;nbsp;route to report it?&lt;/p&gt;
&lt;p&gt;And another thing that makes me think it&amp;#39;s just a bug, is that at one point the value sown in &lt;strong&gt;(1)&lt;/strong&gt;&amp;nbsp;worked without error. This was after a series of removing, adding the control and opening and closing the form&lt;/p&gt;
&lt;p&gt;Also, I realise that I can just put an instance of the drop down in the Print View instead and that would display the Display Name value (Albeit with that *** of an &lt;u&gt;underline&lt;/u&gt;)&lt;/p&gt;
&lt;p&gt;So after all that disjointed rambling, I&amp;#39;m asking: Has anyone experienced this before? Is the error&amp;nbsp;really just&amp;nbsp;a&amp;nbsp;bug? Is there a way around it? If it is a bug, what&amp;#39;s the best way to report it?&lt;/p&gt;
&lt;p&gt;Thanks in advance,&lt;/p&gt;
&lt;p&gt;Ben&lt;/p&gt;</description></item></channel></rss>