I have a Form that my team uses to enter test results. What I would like to have happen is once the results have been entered my team can go back and look at previous records but not be able to change them while still being able to add new records.
I've gone into the Form's properties and set Allow Deletions and Allow Edits to "No" but it doesn't seem to take. I can still edit previous records. I have made sure I saved the changes, closed and reopened the form, tried going back to "Yes" then switching back to "No" saving again, closing the form, closing the database.
I do have this code in the Form - could it be impacting the Edit properties?
Any advice will be appreciated!
I've gone into the Form's properties and set Allow Deletions and Allow Edits to "No" but it doesn't seem to take. I can still edit previous records. I have made sure I saved the changes, closed and reopened the form, tried going back to "Yes" then switching back to "No" saving again, closing the form, closing the database.
I do have this code in the Form - could it be impacting the Edit properties?
Any advice will be appreciated!
Code:
Private Sub Form_Current()
If Me.cbxControlCard = -1 Then
Me.txtControlNumber.Visible = True
Else
Me.txtControlNumber.Visible = False
Me.txtControlNumber.Value = Null
End If
If Me.cboResult.Column(1) = "Fail" Then
Me.txtProblem.Visible = True
Else
Me.txtProblem.Visible = False
Me.txtProblem.Value = Null
End If
End Sub