Hi Steve,
The following is a procedure created by one of our team members and works like a charm. You will need to place a transparent label somewhere on your login form and paste this into the "double click" event of the label. Or.. paste it into the same event of a label that is currently present and visible. For MS Access 9.0.
You will need to change the label name_event (lblcss_DblClick) in the error handling lines to your label name.
-----------------------------------------------------------
On Error GoTo lblcss_DblClick_ERR
'The "Database" datatype requires the Microsoft DAO 3.6 Object Library
'be included. This can be done by clicking on Tools-References in the
'menu and then finding and checking off Microsoft DAO 3.6 Object Library
Dim db As DAO.Database
Dim prp As DAO.Property
Set db = CurrentDb()
If Application.CurrentDb.Properties("AllowBypassKey"

.Value = True Then
CurrentDb.Properties("AllowBypassKey"

= False
' Message box can be removed in production database code
MsgBox "SHIFT key is disabled."
Else
CurrentDb.Properties("AllowBypassKey"

= True
' Message box can be removed in production database code
MsgBox "SHIFT key is enabled."
End If
lblcss_DblClick_ERR_exit:
Exit Sub
lblcss_DblClick_ERR:
'If the property AllowBypassKey does not already exist then this
'will create it and append it to the current databases properties
'so that you will be able to disable the shift key
If Err.Number = 3270 Then '3270 = Property Does Not Exist
Set prp = db.CreateProperty("AllowBypassKey", _
dbBoolean, False)
db.Properties.Append prp
End If
Resume lblcss_DblClick_ERR_exit
------------------------------------------------------------
If you use the transparent label on your login form, place the label in the same location for all of your MS Access Login forms. Have fun.
Q