Mrkieran23
Registered User.
- Local time
- Today, 03:03
- Joined
- Dec 2, 2015
- Messages
- 12
Hello Ladies and Gents
First allow me to say i have not had any training or study in this so i am very limited to what i know. My work places asked me to make something that our production would use as a program,so i took to Access and have done so.
My problem is that i have my program working, and i have areas (forms) which i can access but others cannot so i have put in a password attached to the onOpen event- i want to be able to Add operators and Add deliveries and new parts but i don't want the users to be able to hence the passwords.
I used the below to do this.
Dim pwd As String
pwd = Inputbox("password")
IF pwd = "password" Then
Msgbox "correct"
Else
MsgBox "Incorrect"
DoCmd.Close
End if
End Sub
Well this works fine and does the job but when i Make ACCDE and have it as an executable file only and run it on a computer with Runtime installed the program runs fine but none of the passwords work and allows that user to access all parts.
Could anybody shed any light on this?
First allow me to say i have not had any training or study in this so i am very limited to what i know. My work places asked me to make something that our production would use as a program,so i took to Access and have done so.
My problem is that i have my program working, and i have areas (forms) which i can access but others cannot so i have put in a password attached to the onOpen event- i want to be able to Add operators and Add deliveries and new parts but i don't want the users to be able to hence the passwords.
I used the below to do this.
Dim pwd As String
pwd = Inputbox("password")
IF pwd = "password" Then
Msgbox "correct"
Else
MsgBox "Incorrect"
DoCmd.Close
End if
End Sub
Well this works fine and does the job but when i Make ACCDE and have it as an executable file only and run it on a computer with Runtime installed the program runs fine but none of the passwords work and allows that user to access all parts.
Could anybody shed any light on this?