Who's the one with the evil imagination?

WOW! I didn't mean to put up any red flags or piss anybody off! I hadn't even considered (nor do I fully understand) what you have suggested my intentions might be. My intention is to utilize a user's login password to query a table (tblSpecialist)for cross-reference. This way, I will know which menu to display, depending upon the user. I could use the CurrentUser() method for this, but there is always the chance that two users could end up having the same name -- this is why I wanted to base my query upon the user's password (each user's password is also stored in tblSpecialist). Below is the current code that occurs on the unload event of my splash screen (I am currently using CurrentUser() as the parameter for the query):
Private Sub Form_Unload(Cancel As Integer)
Dim db As DAO.Database
Dim QD As QueryDef
Dim test As Integer
Dim rstSpecialist As DAO.Recordset
Dim name As String
Dim admin As Boolean
Set db = CurrentDb()
test = 0
Set rstSpecialist = db.OpenRecordset("tblSpecialist", dbOpenSnapshot)
rstSpecialist.MoveFirst
Do Until rstSpecialist.EOF
name = rstSpecialist("FirstName") & " " & rstSpecialist("LastName")
If name = CurrentUser() Then
test = 1
admin = rstSpecialist("AdminStatus")
If admin = True Then
DoCmd.OpenForm "Administrative Tools", acViewDefault
ElseIf admin = False Then
DoCmd.OpenForm "Specialist Tools", acViewDefault
End If
Exit Do
Else
rstSpecialist.MoveNext
End If
Loop
If test = 0 Then
MsgBox "Specialist not found."
Else
End If
I have to admit, I'm a bit offended by the accusation. However, I can understand and appreciate your sensitivity to possible threats to security.