I
Ixtreme
I have a simple database with many fields that have an 'On not in
list' command. The current code asks for a password to continue by
means of an Inputbox. This works fine. Unfortunately, the password
information can be seen by everybody (it is not masked). Is it
possible to open a new password form and pass the password information
somehow to this 'on not in list event'? If the password is correct,
the code should continue, if not an warning.
The current code looks like this:
pw = InputBox("Enter password to continue")
If pw = "1234" Then
Set db = CurrentDb
Set rs = db.OpenRecordset(strTblName, dbOpenDynaset)
On Error Resume Next
rs.AddNew
rs!TEST = NewData
rs.Update
list' command. The current code asks for a password to continue by
means of an Inputbox. This works fine. Unfortunately, the password
information can be seen by everybody (it is not masked). Is it
possible to open a new password form and pass the password information
somehow to this 'on not in list event'? If the password is correct,
the code should continue, if not an warning.
The current code looks like this:
pw = InputBox("Enter password to continue")
If pw = "1234" Then
Set db = CurrentDb
Set rs = db.OpenRecordset(strTblName, dbOpenDynaset)
On Error Resume Next
rs.AddNew
rs!TEST = NewData
rs.Update