I've got a tab control with it's visible property set to no. When the user selects a certain value from a combo box the tab control is visible. Here's my code.
Private Sub Carts_Change()
If Me!Carts.Value = 73 Then
TabCtl17.Pages(6).Visible = True
End If
End Sub
Now when the user goes to the next record I want the tab control to be invisible again. How do I do this?
Private Sub Carts_Change()
If Me!Carts.Value = 73 Then
TabCtl17.Pages(6).Visible = True
End If
End Sub
Now when the user goes to the next record I want the tab control to be invisible again. How do I do this?