H
Harmannus
Hallo,
I have code to disable edits and deletions for all the fields on my form if
a criteria is met. See below. How can i make an exception for the statusID
field itself as it also is on the form?
In the Forms Current event:
If Me![StatusID] = 1 Then
Me.AllowEdits = False
Me.AllowDeletions = False
e.g. me.StatusID.locked=false doesn't work....
Else
Me.AllowEdits = true
Me.AllowDeletions = True
End If
Endsub
Thanx for any tips!
Regards,
Harmannus
I have code to disable edits and deletions for all the fields on my form if
a criteria is met. See below. How can i make an exception for the statusID
field itself as it also is on the form?
In the Forms Current event:
If Me![StatusID] = 1 Then
Me.AllowEdits = False
Me.AllowDeletions = False
e.g. me.StatusID.locked=false doesn't work....
Else
Me.AllowEdits = true
Me.AllowDeletions = True
End If
Endsub
Thanx for any tips!
Regards,
Harmannus