S
Susan
I've seen the code in other posts to hide a subform based on a value of a
combo box on a main form or the value of a field on the main form, but I need
to hide/show a subform based on the value of a field in the subform, itself.
Is that possible?
I tried the following, but it did not work:
Me.frmParentCode.Visible = (Me.frmParentCode!LogName Is Not Null)
where "frmParentCode" is my subform and "LogName" is the field to evaluate.
If LogName is Null, I want to hide the subform and if it is Not Null, I want
to show the subform. My main form name is "frmProcess"
Thanks for any help you can offer!
Susan
combo box on a main form or the value of a field on the main form, but I need
to hide/show a subform based on the value of a field in the subform, itself.
Is that possible?
I tried the following, but it did not work:
Me.frmParentCode.Visible = (Me.frmParentCode!LogName Is Not Null)
where "frmParentCode" is my subform and "LogName" is the field to evaluate.
If LogName is Null, I want to hide the subform and if it is Not Null, I want
to show the subform. My main form name is "frmProcess"
Thanks for any help you can offer!
Susan