Multipage Form Events

B

Bish

In the control where the user enters a, c, p, or s use the
following case statement. In my example I used a text box
called txt_Source and each time the user enters one of the
valid values the tab control (tab_test) changes the tab
page that has focus.

Private Sub txt_Source_Change()
Select Case txt_Source.Text
Case "a"
tab_test = 0
Case "c"
tab_test = 1
Case "p"
tab_test = 2
Case "s"
tab_test = 3
End Select
End Sub


Hope it helps... Bish
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top