C
cynteeuh
I have a form with a tab subform. I have the below code in the "on current"
of main form, "after update" of combobox on main form, & "on click" of the
tab where the subform resides. I'm fairly new to coding. I got the working
code from reading the discussion groups.
How would I add an "is null" argument to this code?
Is the "on click" code necessary or am I doing too much?
I want the subform to be blank if the combo box is empty/null (the combo box
does have a default value).
Select Case Me.Type
Case "Private"
Me.Co_Private_Ownership_Subform.Visible = True
Me.Co_Public_Ownership_Subform.Visible = False
Case "Public"
Me.Co_Public_Ownership_Subform.Visible = True
Me.Co_Private_Ownership_Subform.Visible = False
End Select
Thank you for your help!!!
of main form, "after update" of combobox on main form, & "on click" of the
tab where the subform resides. I'm fairly new to coding. I got the working
code from reading the discussion groups.
How would I add an "is null" argument to this code?
Is the "on click" code necessary or am I doing too much?
I want the subform to be blank if the combo box is empty/null (the combo box
does have a default value).
Select Case Me.Type
Case "Private"
Me.Co_Private_Ownership_Subform.Visible = True
Me.Co_Public_Ownership_Subform.Visible = False
Case "Public"
Me.Co_Public_Ownership_Subform.Visible = True
Me.Co_Private_Ownership_Subform.Visible = False
End Select
Thank you for your help!!!