S
Scott Matheny
I'm trying to write code in an afterupdate that changes a
property of another part of the form. However, what I have
is not working and I suspect it is the Null call out.
Please give me any advice; here is my code:
Sub Combo60_AfterUpdate()
If Text87.Value Or Text89.Value = Null Then
TabCtl76.Visible = False
Else
TabCtl76.Visible = True
End If
End Sub
What happens in my form is after you select a value from
Combo60, it relays values into Text 87 and Text89. I want
another section of the form to stay invisible (I also have
code in the Form_load() to make that same part invisible
at the load) if either text box doesn't have a value.
I tried placing msgbox text87.value into the Form_load(),
and it said misuse of Null. FFNNNNRRRGGGHHHH
Thanks in advance,
-Scott M.
property of another part of the form. However, what I have
is not working and I suspect it is the Null call out.
Please give me any advice; here is my code:
Sub Combo60_AfterUpdate()
If Text87.Value Or Text89.Value = Null Then
TabCtl76.Visible = False
Else
TabCtl76.Visible = True
End If
End Sub
What happens in my form is after you select a value from
Combo60, it relays values into Text 87 and Text89. I want
another section of the form to stay invisible (I also have
code in the Form_load() to make that same part invisible
at the load) if either text box doesn't have a value.
I tried placing msgbox text87.value into the Form_load(),
and it said misuse of Null. FFNNNNRRRGGGHHHH
Thanks in advance,
-Scott M.