<?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: exact match vs "like"  (or begins with)</title><link>https://www.infopathdev.com:443/forums/thread/27040.aspx</link><pubDate>Thu, 06 Mar 2008 07:10:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27040</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27040.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=27040</wfw:commentRss><description>&lt;p&gt;Yah definitely could be done with a web service.&amp;nbsp; There are some posts here though on a way in code to do a query and use a variable in the Sql statement.&lt;/p&gt;
&lt;p&gt;Unfortunately, in the basic database functionality this is not possible unless you load everything. Then you could use the contains to search or filter your list.&lt;/p&gt;
&lt;p&gt;Another option would be to create a dataconnection for just asset name, which would be a smaller query. Then they could select from this list and then&amp;nbsp;do the larger query and pull all of the related information.&lt;/p&gt;</description></item><item><title>Re: exact match vs "like"  (or begins with)</title><link>https://www.infopathdev.com:443/forums/thread/27037.aspx</link><pubDate>Thu, 06 Mar 2008 03:09:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27037</guid><dc:creator>bharvey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27037.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=27037</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I have an assets table.&amp;nbsp; I want the people to be able to do a search on an asset to see if it&amp;#39;s already in or not.&amp;nbsp; It can&amp;#39;t be an &amp;quot;exact match&amp;quot; type of search because people could type it in a bit different.&amp;nbsp; So I want to let them do a search like&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select asset_name from assets where asset_name LIKE &amp;quot;%&amp;nbsp;&amp;nbsp; text entered&amp;nbsp; %&amp;quot;&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: exact match vs "like"  (or begins with)</title><link>https://www.infopathdev.com:443/forums/thread/27020.aspx</link><pubDate>Wed, 05 Mar 2008 20:17:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27020</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27020.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=27020</wfw:commentRss><description>&lt;p&gt;If this is a static query you can edit the SQL select statement in the Data Connection.&lt;/p&gt;
&lt;p&gt;A web service can give you the ability to dynamically query.&lt;/p&gt;
&lt;p&gt;Within a form you can use the contains to get like functionality.&lt;/p&gt;
&lt;p&gt;What is your situation? What are you trying to do?&lt;/p&gt;</description></item><item><title>exact match vs "like"  (or begins with)</title><link>https://www.infopathdev.com:443/forums/thread/27013.aspx</link><pubDate>Wed, 05 Mar 2008 17:01:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27013</guid><dc:creator>bharvey</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27013.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=27013</wfw:commentRss><description>&lt;p&gt;I thought I saw, somewhere, code that lets a person do a search within an infopath form that would be a &amp;quot;like&amp;quot; or &amp;quot;begins with&amp;quot; search, instead of an &amp;quot;exact match&amp;quot; search that infopath does by default when connected to a database.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Anyone know?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks!&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>