Results 1 to 2 of 2
  1. #1
    cowboyfett is offline Novice
    Windows 10 Office 365
    Join Date
    Aug 2022
    Posts
    1

    Security? Not Sure

    I am making a database to track skills for an educational program. For a given skill, i want to record the date and have the instructor put in a password to "sign" the skill. It could be a simple typed out name, but have it be password protected. Is that possible in access?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    One way:

    Code:
    Private Sub Odometer_BeforeUpdate(Cancel As Integer)
      Dim strTypePass As String
    
      strTypePass = InputBox(prompt:="Enter Password")
      
      If Not strTypePass = g_sOdoPass Then
        Cancel = True
      End If
    
    End Sub
    In this case g_sOdoPass is a global constant holding the password. You can add an Else clause with a message box "incorrect password" or whatever.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Security
    By mslenker in forum Access
    Replies: 1
    Last Post: 02-25-2013, 10:27 AM
  2. security
    By hongkongtomlam in forum Access
    Replies: 4
    Last Post: 02-24-2013, 07:14 PM
  3. Replies: 3
    Last Post: 10-26-2011, 02:09 PM
  4. Security Help
    By Cheshire101 in forum Security
    Replies: 4
    Last Post: 03-30-2011, 02:43 PM
  5. Security..Is there another way?
    By marianne in forum Security
    Replies: 0
    Last Post: 07-19-2009, 07:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums