Results 1 to 3 of 3

Thread: Password thingy

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    16
    I've set up a password protect for a feature of the database I'm working on. How do I make the inputted password text show up as stars instead of text. my code is this:

    Private Sub Command14_Click()
    On Error GoTo Err_OpenForm

    Dim Mypwd As String


    Mypwd = InputBox("Enter Your Password")


    If Mypwd <> "j2mechanical" Then
    Exit Sub
    Else
    DoCmd.OpenForm "Subform2"
    End If

    Exit_OpenForm:
    Exit Sub
    Err_OpenForm:
    MsgBox Err.Number & " ; " & Err.Description
    Resume Exit_OpenForm


    End Sub

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    You'll need to roll your own form that has a text field for password. On your text field, there is a "password character" property, place an '*' there.

    [Edited by JHausmann on 08-09-2000 at 01:21 PM]

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    16
    Could you explain a little more?

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