<?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>SQL Database Integration</title><link>https://www.infopathdev.com:443/forums/47.aspx</link><description>For questions concerning issues in the integration of SQL and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Querying SQL data from a search box.</title><link>https://www.infopathdev.com:443/forums/thread/90305.aspx</link><pubDate>Fri, 31 May 2013 12:56:20 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90305</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90305.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=90305</wfw:commentRss><description>&lt;p&gt;On a role today. I found this link - &lt;a href="http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomizationprevious/thread/5aa4519c-b8e0-4a7c-85b4-09f7e1d0747a"&gt;http://social.msdn.microsoft.com/Forums/en-US/sharepointcustomizationprevious/thread/5aa4519c-b8e0-4a7c-85b4-09f7e1d0747a&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Copied the code and altered it for my needs. i.e. connection name etc.&lt;/p&gt;&lt;p&gt;Make sure your form can use C# File&amp;gt;Form Options&amp;gt;Programming&amp;gt;C#&lt;/p&gt;&lt;p&gt;The code is placed onto your button:&lt;/p&gt;&lt;p&gt;As long as you have an SQL person who can write the stored procedure&lt;/p&gt;</description></item><item><title>Re: Querying SQL data from a search box.</title><link>https://www.infopathdev.com:443/forums/thread/90072.aspx</link><pubDate>Thu, 23 May 2013 15:49:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90072</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90072.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=90072</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Thanks for the advice, I think that&amp;#39;s where I might end up.&lt;/p&gt;</description></item><item><title>Re: Querying SQL data from a search box.</title><link>https://www.infopathdev.com:443/forums/thread/90036.aspx</link><pubDate>Wed, 22 May 2013 17:40:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90036</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90036.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=90036</wfw:commentRss><description>&lt;p&gt;I think to query for just the items you need, you&amp;#39;ll need code or a web service (like DBXL) to be able to get back items that are &amp;quot;like&amp;quot; what you are searching for (wildcard search) - I&amp;#39;m just thinking, my users are going to type in Henry and want to get back Henry Smith and Henry Jones, you know?&lt;/p&gt;&lt;p&gt;If you take that route, you probably won&amp;#39;t need to worry about case sensitivity.&lt;/p&gt;&lt;p&gt;But if you have all data in your form and are just using conditional formatting / filters to display / hide - you should probably try the translate function to get things into a single case for comparison - sample here: &lt;a href="http://melick-rajee.blogspot.com/2010/08/getting-lower-case-lcase-and-upper-case.html"&gt;http://melick-rajee.blogspot.com/2010/08/getting-lower-case-lcase-and-upper-case.html&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Querying SQL data from a search box.</title><link>https://www.infopathdev.com:443/forums/thread/90019.aspx</link><pubDate>Wed, 22 May 2013 10:55:38 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90019</guid><dc:creator>wilkies0106aw</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90019.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=90019</wfw:commentRss><description>&lt;p&gt;All,&lt;/p&gt;&lt;p&gt;I&amp;#39;ve connected an infopath form to an MS sql db.&lt;/p&gt;&lt;p&gt;On my Inforpath (2010) form I have a field called SearchName with a button underneath the field which queries the data from the SQL db.&lt;/p&gt;&lt;p&gt;On my form I have a repeating table which only shows data when the SearchName field is equal to a field on the repeating table.&lt;/p&gt;&lt;p&gt;How can I use a bit more intelligence to the SearchName box/results? i.e if my SearchName value is Monday, the table returns Monday, monday or monday1 ? At present it will only return Monday.&lt;/p&gt;&lt;p&gt;The person filling out the searchName box will not always type in Monday so zero results will be presented. (I&amp;#39;ll need a field of something which the person know there are zero results too).&lt;/p&gt;&lt;p&gt;In addion should I be doing the search within the form or somewhere else? i.e. on the db itself? The form takes a long time to query the data.&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>