Use PageBreaks instead of tabs

Submitted by:Andery Smith

Date added:09 April, 2011

Category:Visual Basic

On form, insert a Page Break after the first group of fields. This creates two "pages" in the form, which can be toggled using a command button on each.

Tags: page breaks

Code Snippet:

    Private Sub cmdCompanyInfo_Click()
' move to first page of form.
Me.GoToPage 1
End Sub

Private Sub cmdPersonalInfo_Click()
' move to second page of form.
Me.GoToPage 2
End Sub
 
 

Comments