 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: vb.net 2008 login using ms access</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/vbnet-2008-login-using-ms-access/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/vbnet-2008-login-using-ms-access/</link>
	<description></description>
	<lastBuildDate>Mon, 20 May 2013 05:26:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: tlsanders1</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/vbnet-2008-login-using-ms-access/#comment-105276</link>
		<dc:creator>tlsanders1</dc:creator>
		<pubDate>Fri, 23 Mar 2012 14:16:28 +0000</pubDate>
		<guid isPermaLink="false">#comment-105276</guid>
		<description><![CDATA[Oops, Carlosdl is correct.  I didn&#039;t follow the logic.  The way the IFs are set up the program flow doesn&#039;t have a chance to get to the manager vaildation.]]></description>
		<content:encoded><![CDATA[<p>Oops, Carlosdl is correct.  I didn&#8217;t follow the logic.  The way the IFs are set up the program flow doesn&#8217;t have a chance to get to the manager vaildation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/vbnet-2008-login-using-ms-access/#comment-105247</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Thu, 22 Mar 2012 14:41:17 +0000</pubDate>
		<guid isPermaLink="false">#comment-105247</guid>
		<description><![CDATA[&quot;&lt;i&gt;Looks to me like your READ is only reading the first record.&lt;/i&gt;&quot;

I don&#039;t think it needs to read more than 1 record, since only one user will be being validated on each try.

I think part of the problem is here:

&lt;i&gt;Else
If String.IsNullOrEmpty(Form1.TextBox1.Text) Xor String.IsNullOrEmpty(Form1.TextBox2.Text) Xor Form1.rdbclerk.Checked = False _
&lt;b&gt;Xor Form1.rdbmgr.Checked&lt;/b&gt; Then
MsgBox(&quot;emp Login unsuccessful,pls type the correct details and select the correct usertype&quot;)
End If
End If&lt;/i&gt;

Because of this code, if rdbmgr is checked, an unsuccessful login message will be displayed, no matter what the user entered as username and password.

But, it seems that it should then continue to validate using the manager validation code, and display a login successful message if the provided credentials were correct.

Dissector, can you tell us what happens when you try to login as a manager ?]]></description>
		<content:encoded><![CDATA[<p>&#8220;<i>Looks to me like your READ is only reading the first record.</i>&#8221;</p>
<p>I don&#8217;t think it needs to read more than 1 record, since only one user will be being validated on each try.</p>
<p>I think part of the problem is here:</p>
<p><i>Else<br />
If String.IsNullOrEmpty(Form1.TextBox1.Text) Xor String.IsNullOrEmpty(Form1.TextBox2.Text) Xor Form1.rdbclerk.Checked = False _<br />
<b>Xor Form1.rdbmgr.Checked</b> Then<br />
MsgBox(&#8220;emp Login unsuccessful,pls type the correct details and select the correct usertype&#8221;)<br />
End If<br />
End If</i></p>
<p>Because of this code, if rdbmgr is checked, an unsuccessful login message will be displayed, no matter what the user entered as username and password.</p>
<p>But, it seems that it should then continue to validate using the manager validation code, and display a login successful message if the provided credentials were correct.</p>
<p>Dissector, can you tell us what happens when you try to login as a manager ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tlsanders1</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/vbnet-2008-login-using-ms-access/#comment-105246</link>
		<dc:creator>tlsanders1</dc:creator>
		<pubDate>Thu, 22 Mar 2012 14:12:20 +0000</pubDate>
		<guid isPermaLink="false">#comment-105246</guid>
		<description><![CDATA[Looks to me like your READ is only reading the first record.  When you compare the clerk&#039;s login info against it, it is OK, but when you compare the manager&#039;s login info against the first record from the database, it fails.  I think you need a way to loop through the records of the password database.]]></description>
		<content:encoded><![CDATA[<p>Looks to me like your READ is only reading the first record.  When you compare the clerk&#8217;s login info against it, it is OK, but when you compare the manager&#8217;s login info against the first record from the database, it fails.  I think you need a way to loop through the records of the password database.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 6/8 queries in 0.011 seconds using memcached
Object Caching 297/298 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-20 08:20:45 -->