G
Guest
tabControlReservations contains Jobfrm, which in turn contains
tabControlInvoice. When my user clicks tabControlReservations tab 2
(value=1) I want to ensure that tabControlInvoice is set to its first tab
(value=0).
I get no error, but tabControlInvoice returns to whatever tab was previously
viewed instead of 'resetting' to tab0.
Can anyone help?
Private Sub tabCtrlReservations_Change()
If Me.tabCtrlReservations.Pages.Count = 1 Then
Me.Jobfrm.tabControlInvoice.Page.Count = 0
End If
End Sub
Thanks.
tabControlInvoice. When my user clicks tabControlReservations tab 2
(value=1) I want to ensure that tabControlInvoice is set to its first tab
(value=0).
I get no error, but tabControlInvoice returns to whatever tab was previously
viewed instead of 'resetting' to tab0.
Can anyone help?
Private Sub tabCtrlReservations_Change()
If Me.tabCtrlReservations.Pages.Count = 1 Then
Me.Jobfrm.tabControlInvoice.Page.Count = 0
End If
End Sub
Thanks.