B
Bill
I want to use a click of a command button to display or hide tab's in the tab
control.
For example is a user clicks "New" the tab page for "New Record" would
display but hide the other tab pages. If they click "reports" that page
would display only.
I've used it before on a check box by using a if command. In this case,
there is no true value on the button so how would I get this to work?
this is what I've used before with the check box:
Private Sub chkWorkComp_AfterUpdate()
If Me.chkWorkComp = True Then
Me.WCEmployment.Visible = True
Else
Me.WCEmployment.Visible = False
End If
End Sub
How can I get it to work for a onclick function of a button?? Thanks for
the help!
control.
For example is a user clicks "New" the tab page for "New Record" would
display but hide the other tab pages. If they click "reports" that page
would display only.
I've used it before on a check box by using a if command. In this case,
there is no true value on the button so how would I get this to work?
this is what I've used before with the check box:
Private Sub chkWorkComp_AfterUpdate()
If Me.chkWorkComp = True Then
Me.WCEmployment.Visible = True
Else
Me.WCEmployment.Visible = False
End If
End Sub
How can I get it to work for a onclick function of a button?? Thanks for
the help!