Results 1 to 4 of 4

Thread: Question RE: User Registrations and Database

  1. #1

    Thread Starter
    Lively Member fundean's Avatar
    Join Date
    Apr 2001
    Posts
    98

    Cool Question RE: User Registrations and Database

    How do you make a user registration form, sending the results to a database and then making a User Login page, taking the same results and comparing them, and if the User name and password match then you are logged in and if not then you are kicked out?

  2. #2
    Member DuncanL's Avatar
    Join Date
    Feb 2001
    Location
    Sussex, England
    Posts
    37
    I tend to use ADO to read and write the information from and to the database.

  3. #3
    New Member
    Join Date
    May 2001
    Location
    in a box
    Posts
    2

    Thumbs down

    What kind of question is that? You must be some little private school with no life what-so-ever. Come back with a reasonable question, one where there is an answer.

  4. #4
    PowerPoster Lethal's Avatar
    Join Date
    Oct 2000
    Location
    Ohio
    Posts
    2,496
    I answered this question in your other thread in the db forum. Just keep the usernames and passwords in a database, create a logon form, when the user enters his or her username and password, query the db for the password for the username, then compare:

    Code:
        "SELECT Password FROM TABLENAME WHERE Username = '" & txtPassword & "'"
    
        If RS!Password = txtPassword then MsgBox "Logging in User..."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width