MS Access - Setting up a command button to switch tabs

Ramma2

Platinum Member
Jul 29, 2002
2,710
1
0
I'm creating a small app in Access, and currently my data entry page has 3 tabs. I want to create a command button that the user can click to switch to the next tab and continue data entry.

I didn't see the option in the command button creation wizard, anyone know how to set this up?

Thanks!
 

kingtas

Senior member
Aug 26, 2006
421
0
0
Private Sub Command1_Click()

Me.Page2.SetFocus

End Sub

where page1 displays the command button Command1 that will toggle page2.