G
Gabe
I'm trying to have a subform appear on my main form if a certain value is
selected from a combobox, but I'm having some trouble. I put the following
code in the AfterUpdate field of my combobox but it doesn't work?
Private Sub ServiceTypeSEIU_AfterUpdate(Cancel As Integer)
If Me.ServiceType = "SEIU" Then
Me.SEIU_Only_Query.Form
.Enabled = True
.Visible = True
Else: Me.SEIU_Only_Query.Form
.Enabled = False
.Visable = False
End If
End Sub
Can someone please help?
Thanks,
~Gabe
selected from a combobox, but I'm having some trouble. I put the following
code in the AfterUpdate field of my combobox but it doesn't work?
Private Sub ServiceTypeSEIU_AfterUpdate(Cancel As Integer)
If Me.ServiceType = "SEIU" Then
Me.SEIU_Only_Query.Form
.Enabled = True
.Visible = True
Else: Me.SEIU_Only_Query.Form
.Enabled = False
.Visable = False
End If
End Sub
Can someone please help?
Thanks,
~Gabe