F
Fab
Could someone please tell me should this code work?
If DE.Value = No Then
KeyDE.Enabled = False And DEAddress.Enabled = False And DETel.Enabled =
False And DEEmail.Enabled = False And DEP_Subform.Enabled = False And
DEPbtn.Enabled = False And DPbtn.Enabled = False
Else: KeyDE.Enabled = True And DEAddress.Enabled = True And DETel.Enabled =
True And DEEmail.Enabled = True And DEP_Subform.Enabled = True And
DEPbtn.Enabled = True And DPbtn.Enabled = True
End If
And If not what is the best way of going about this
Any help appreciated
Thanks
If DE.Value = No Then
KeyDE.Enabled = False And DEAddress.Enabled = False And DETel.Enabled =
False And DEEmail.Enabled = False And DEP_Subform.Enabled = False And
DEPbtn.Enabled = False And DPbtn.Enabled = False
Else: KeyDE.Enabled = True And DEAddress.Enabled = True And DETel.Enabled =
True And DEEmail.Enabled = True And DEP_Subform.Enabled = True And
DEPbtn.Enabled = True And DPbtn.Enabled = True
End If
And If not what is the best way of going about this
Any help appreciated
Thanks