I got the code that enables an option group (opgOPCO) to pop-up whenever I input “0064” into the combo box (cboCCN). However, when I go to the next record (using record selector), the option group (opgOPCO) does not hide even though the combox box contains a value other than “0064.”
Dim bShow As Boolean
If Me.[cboCCN] = "0064" Then
bShow = True
Else
bShow = False
End If
If Me.[opgOPCO].Visible <> bShow Then
Me.[opgOPCO].Visible = bShow
End If
I need the option group (opgOPCO) to appear ONLY when the combo box (cboCCN) contains a specific value (0064). Can somebody help?
Dim bShow As Boolean
If Me.[cboCCN] = "0064" Then
bShow = True
Else
bShow = False
End If
If Me.[opgOPCO].Visible <> bShow Then
Me.[opgOPCO].Visible = bShow
End If
I need the option group (opgOPCO) to appear ONLY when the combo box (cboCCN) contains a specific value (0064). Can somebody help?