<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Checking and validating data from a database</title><link>https://www.infopathdev.com:443/forums/thread/99299.aspx</link><pubDate>Fri, 26 Sep 2014 14:22:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:99299</guid><dc:creator>Kully</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/99299.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=99299</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;&lt;p&gt;I am trying to create a&amp;nbsp;InfoPath 2010 form, which I am connecting to a SQL server. I have connected&amp;nbsp;to the appropriate table.&amp;nbsp;I have two text fields on the form i.e. Username and Password. &lt;/p&gt;&lt;p&gt;I&amp;nbsp;would like to check if the data which is entered in these fields matches&amp;nbsp;the data in the database once&amp;nbsp;the submit button is clicked. If it does then it takes the&amp;nbsp;user to a different view i.e allows them to access the next page. &lt;/p&gt;&lt;p&gt;&amp;nbsp;E.g. the database contains 2 columns Username and Password. - Record 1 Username = test1, &amp;nbsp;Password = 1234, Record 2 Username = test2, Password - 3456&lt;/p&gt;&lt;p&gt;&amp;nbsp;If a user enters both matching username and&amp;nbsp;password from the database then this takes the user to another view however if they do not match then user is presented with an invalid log in error message. &lt;/p&gt;&lt;p&gt;Any advise on&amp;nbsp;how I could achieve this will really be appreciated. &lt;/p&gt;&lt;p&gt;Thank you in advance. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>