G
Guest
Hi,
1) I would like to make a command button that allows a user to move to the
next page on a tab control. I know this question is already answered and I
am supposed to use this code:
With Me.tabMyTabControl
If .Value = .Pages.Count - 1 Then
' It's the last page, so go back to the first page.
.Value = 0
Else
.Value = .Value + 1
End If
End With
But I am a new user and not familiar with the codes so where do I insert
this? Do I need to make a button using the wizard and then insert this
somewhere in Microsoft's code?
I was also wondering how to get the focus to move automatically from the last
control on one page to the first control on the next page.
2) Another problem I am having is that I want to print one page at a time,
but when I press the print record button, it prints everything out. This is
because all the tabs are on one record, but there isn't any other option in
the command buttom wizard. Is there a way to print only one tab at a time?
Sorry this is so long. I would be grateful for any help.
Thank you,
Nicole
1) I would like to make a command button that allows a user to move to the
next page on a tab control. I know this question is already answered and I
am supposed to use this code:
With Me.tabMyTabControl
If .Value = .Pages.Count - 1 Then
' It's the last page, so go back to the first page.
.Value = 0
Else
.Value = .Value + 1
End If
End With
But I am a new user and not familiar with the codes so where do I insert
this? Do I need to make a button using the wizard and then insert this
somewhere in Microsoft's code?
I was also wondering how to get the focus to move automatically from the last
control on one page to the first control on the next page.
2) Another problem I am having is that I want to print one page at a time,
but when I press the print record button, it prints everything out. This is
because all the tabs are on one record, but there isn't any other option in
the command buttom wizard. Is there a way to print only one tab at a time?
Sorry this is so long. I would be grateful for any help.
Thank you,
Nicole