logging on

mcm
11-21-2002, 11:26 AM
I am new to Visual Basic, how do you compare a value entered in a text field (eg password) and a value held in a field of a table in an Access DB to ensure they are the same?
Thank you!
m:)

jcd
11-21-2002, 12:42 PM
You could run a sql statement.

select * from password_table where username = '" & uname.text & "' and password = '" & pword.text & "'"

if a record is returned than the username and password combo is valid
regards
jcd

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum