hello frnz...How to code for a login form by taking data from Oracle db?
M having a table Employee having attribute as emplogin and emppwd...from there i want to check that whether the user has entered the correct data or not...
I mean i want to match the entered data with that of the data in database.
Plz help me out with this...as m new to VB6.
This is a simple coding when the id and pswd is USER
Private Sub cmdlogin_Click()
If txtlogin.Text = "user" And txtpwd.Text = "user" Then
frmprjlist.show
Unload Me
Else
MsgBox ("Login Failed! Try Again....")
Me.Refresh
End If
End Sub
Thanx in advance...