<?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>Qdabra qRules</title><link>https://www.infopathdev.com:443/forums/131.aspx</link><description>qRules adds support to your InfoPath  forms. With qRules, you can add features to your form that require code, but without having to write it. </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Correct Syntax for "Contains" or "like"</title><link>https://www.infopathdev.com:443/forums/thread/85723.aspx</link><pubDate>Wed, 02 Jan 2013 15:40:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85723</guid><dc:creator>douglasjenn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85723.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=85723</wfw:commentRss><description>Working like&amp;nbsp;a charm now.&amp;nbsp; Thanks so much!</description></item><item><title>Re: Correct Syntax for "Contains" or "like"</title><link>https://www.infopathdev.com:443/forums/thread/85706.aspx</link><pubDate>Mon, 31 Dec 2012 19:48:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85706</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85706.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=85706</wfw:commentRss><description>Oh - good catch, I didn&amp;#39;t even see those!</description></item><item><title>Re: Correct Syntax for "Contains" or "like"</title><link>https://www.infopathdev.com:443/forums/thread/85705.aspx</link><pubDate>Mon, 31 Dec 2012 19:46:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85705</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85705.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=85705</wfw:commentRss><description>&lt;p&gt;Is there a reason for the pair of apostrophes after the first %?&amp;nbsp; Those could be preventing any results from coming back.&lt;/p&gt;&lt;p&gt;And please make sure you are validating LastName (i.e. ensuring that it does not contain any apostrophes) before using it in an SQL query.&lt;/p&gt;</description></item><item><title>Re: Correct Syntax for "Contains" or "like"</title><link>https://www.infopathdev.com:443/forums/thread/85696.aspx</link><pubDate>Mon, 31 Dec 2012 15:54:14 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85696</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85696.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=85696</wfw:commentRss><description>&lt;p&gt;Well, the syntax is &lt;em&gt;where ColumnName like &amp;#39;%value%&amp;#39;&lt;/em&gt;, so, in general, this looks correct. Can you open SQL Management Studio and try to execute your query with a where clause and the value you are trying for last name and see what your results are?&lt;/p&gt;</description></item><item><title>Correct Syntax for "Contains" or "like"</title><link>https://www.infopathdev.com:443/forums/thread/85693.aspx</link><pubDate>Mon, 31 Dec 2012 14:23:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:85693</guid><dc:creator>douglasjenn</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/85693.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=131&amp;PostID=85693</wfw:commentRss><description>&lt;p&gt;I&amp;nbsp;need to pull in results from a&amp;nbsp;SQL table into an&amp;nbsp;Infopath.&amp;nbsp;&amp;nbsp;I would like&amp;nbsp;for it to only return values that &amp;quot;contain&amp;quot; a value.&amp;nbsp; (For example, only pull where OED_Relationship contains&amp;nbsp;employee last name)&amp;nbsp;.&amp;nbsp; What is the correct syntax when using the concat statement to return &amp;quot;like&amp;quot; results?&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s my current code which is definitely not working.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;concat(&amp;quot;ModifySqlQuery /dsname=DailyEDWforOEDCustomers /where=where v_dv_RPCode_052.OED_Relationship like &amp;#39;%&amp;#39;&amp;#39;&amp;quot;, LastName, &amp;quot;%&amp;quot;, &amp;quot;&amp;#39;&amp;quot;)&lt;/p&gt;</description></item></channel></rss>