If I use the following code should this disable the field on the form so no one can enter anything in it only if it has been compiled or creat an MDE?
Also could someone explain what Me! means? I don't understand why there has to be a "!" after Me.
Private Sub Form_Load()
If Application.IsCompiled = True Then
Me!txtPostDate.Enabled = False
Me!btnPostDate.Enabled = False
Me!txtExceptionName.Enabled = False
End If
End Sub
Thanks so much,
Darkhat01
Also could someone explain what Me! means? I don't understand why there has to be a "!" after Me.
Private Sub Form_Load()
If Application.IsCompiled = True Then
Me!txtPostDate.Enabled = False
Me!btnPostDate.Enabled = False
Me!txtExceptionName.Enabled = False
End If
End Sub
Thanks so much,
Darkhat01