<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: error setting up my lookup node (Visual Basic)</title><link>https://www.infopathdev.com:443/forums/thread/34124.aspx</link><pubDate>Tue, 11 Nov 2008 17:03:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34124</guid><dc:creator>Jerri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34124.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=34124</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/infopathdev/images/icon-quote.gif"&gt; &lt;strong&gt;Shiva:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I think your XPath is might be wrong. Your XPath should be start with root node. Can you give the schema structure of &amp;quot;bakery-mstr&amp;quot; secondary dom to give correct XPath of the field. Check once your filter condition also.&lt;/p&gt;
&lt;p&gt;XPath should change like this,&lt;/p&gt;
&lt;p&gt;(&amp;quot;/d:bakery-mstr[@bk-contact=&amp;#39;&amp;quot; and strcontactId != &amp;quot;&amp;#39;]&amp;quot;)&lt;/p&gt;
&lt;p&gt;@bk-contact=&amp;#39;&amp;quot; &amp;gt; this field equal to blank&lt;/p&gt;
&lt;p&gt;strcontactId != &amp;quot;&amp;#39; -&amp;gt; this field value is not blank&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hi Shiva,&lt;/p&gt;&lt;p&gt;Thanks. I tried to use != but it does not like that operator combination. It expects a right parentheses at that point. However, I did add &amp;quot;/dfs:myFields/dfs:dataFields/&amp;quot; to the XPath. Do you have any more suggestions?&lt;/p&gt;&lt;p&gt;thanks, &lt;br /&gt;&lt;/p&gt;&lt;p&gt;Jerri &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: error setting up my lookup node (Visual Basic)</title><link>https://www.infopathdev.com:443/forums/thread/34083.aspx</link><pubDate>Tue, 11 Nov 2008 06:08:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34083</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34083.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=34083</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I think your XPath is might be wrong. Your XPath should be start with root node. Can you give the schema structure of &amp;quot;bakery-mstr&amp;quot; secondary dom to give correct XPath of the field. Check once your filter condition also.&lt;/p&gt;
&lt;p&gt;XPath should change like this,&lt;/p&gt;
&lt;p&gt;(&amp;quot;/d:bakery-mstr[@bk-contact=&amp;#39;&amp;quot; and strcontactId != &amp;quot;&amp;#39;]&amp;quot;)&lt;/p&gt;
&lt;p&gt;@bk-contact=&amp;#39;&amp;quot; &amp;gt; this field equal to blank&lt;/p&gt;
&lt;p&gt;strcontactId != &amp;quot;&amp;#39; -&amp;gt; this field value is not blank&lt;/p&gt;</description></item><item><title>error setting up my lookup node (Visual Basic)</title><link>https://www.infopathdev.com:443/forums/thread/34075.aspx</link><pubDate>Tue, 11 Nov 2008 01:01:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34075</guid><dc:creator>Jerri</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34075.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=34075</wfw:commentRss><description>&lt;p&gt;Please help! &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I keep the error &amp;quot;Object doesn&amp;#39;t support this property or method&amp;quot; on the following line of code.&amp;nbsp; Any ideas would be very much appreciated.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;objcontactLookupNode = 	XDocument.GetDOM(&amp;quot;bakery-mstr&amp;quot;).selectSingleNode(&amp;quot;/d:bakery-mstr[@bk-contact=&amp;#39;&amp;quot; &amp;amp; strcontactId &amp;amp; &amp;quot;&amp;#39;]&amp;quot;) &lt;/p&gt;&lt;p&gt;&amp;nbsp;thanks&lt;/p&gt;&lt;p&gt;Jerri &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>