I used the routine VBA code as follows:
Code:
If txtBody.Value = Null Then
txtBody.Visible = False
Else
txtBody.Visible = True
End If
I put it in form_current Sub program. I felt that when a user opens the form frmEmail
then this would be the first code sequence to run.
It did not work. Please explain why. It seems as logical as the codethat you used.
Code:
If Nz(variablename,"") <> "" Then
variablename.Visible = True
Else
variablename.Visible = False
End If
I saw the term <> "", it seemed unnecessarily complicated.
I like mine. It does not work; the term txtBody is the name of the control that I was to be visible based on
certain criteria. As I said, it did not work.
Any help appreciated. Thanks in advance.
Respectfully,
Lou Reed