chunkII123
IS-IT--Management
As I stated in my last thread I amnota programmer, aspiring programmer, nor do i have the urge or want to be a programmer. I was however thrust into a job that requires me to do minor tweaks and fixing of another idiots programming, that being said I now have a new problem with some coding, in the management section of our little Access Database we have a spot to put in the password and anyone who has a head on top of their shoulders can pull up the debug menu for the module. The first thing you see within this module is
Private Sub enterButton_Click()
Dim Entry As String
If Len(password.value) >= 0 Then
Entry = password.value
If (Entry = "makelovenotwar" Or Entry = "th3s3condmonth" Or Entry = "flowers4sale!" Or Entry = "321") Then
SignsButton.Enabled = True
MenuDMButton.Enabled = True
MenuSourceButton.Enabled = True
MenuOtherOfficeButton.Enabled = True
MenuOfficeButton.Enabled = True
MenuEditButton.Enabled = True
MenuOtherButton.Enabled = True
SourcesButton.Enabled = True
MenuReportButton.Enabled = True
EmployeesButton.Enabled = True
lookupButton.Enabled = True
employee_weekly.Enabled = True
openReport.Enabled = True
printDaily.Enabled = True
now those are the passwords used to access the management module and functions, how would one go about hiding the entries within this statement "If (Entry = "makelovenotwar" Or Entry = "th3s3condmonth" Or Entry = "flowers4sale!" Or Entry = "321") Then" Any helpis appreciated.
Private Sub enterButton_Click()
Dim Entry As String
If Len(password.value) >= 0 Then
Entry = password.value
If (Entry = "makelovenotwar" Or Entry = "th3s3condmonth" Or Entry = "flowers4sale!" Or Entry = "321") Then
SignsButton.Enabled = True
MenuDMButton.Enabled = True
MenuSourceButton.Enabled = True
MenuOtherOfficeButton.Enabled = True
MenuOfficeButton.Enabled = True
MenuEditButton.Enabled = True
MenuOtherButton.Enabled = True
SourcesButton.Enabled = True
MenuReportButton.Enabled = True
EmployeesButton.Enabled = True
lookupButton.Enabled = True
employee_weekly.Enabled = True
openReport.Enabled = True
printDaily.Enabled = True
now those are the passwords used to access the management module and functions, how would one go about hiding the entries within this statement "If (Entry = "makelovenotwar" Or Entry = "th3s3condmonth" Or Entry = "flowers4sale!" Or Entry = "321") Then" Any helpis appreciated.