Compare user name & password with interface value


pls................. help in this

I have SQL Database table, name is SPLogin. It has userid & passwd coloumn stored with 3 values each. I want to compare these values with textbox values which are in the form1. If both are (username & passwd) same then form2 should be open else it show the statment.
Kindly help me how to achive this by using VB6.0

You can use the code If

You can use the code If Textfield equals Username and textfield equals password then frmNext.Show

Ishar

Ishar

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options