i have a form that captures data but once a specific status is selected it can no longer be changed (status 3 or 6),
then if status = 5 it locks specific fields on the form but leaves a few fields still open.
else all fields are available.
I have some VB knowledge but not much.
I'm hoping i don't have to setfocus on each field then change the property since there are many. Then is the status changes back from 5 to 4 have to undo the same way...
Here's what i have so far:
Private Sub Status_Change()
If Status.Value = 3 Or Status.Value = 6 Then
MsgBox "You cannot change the status of this NCR Case, please see a CAPA administrator."
Else
If Status.Value = 5 Then