Click Tab Page To Open A Form

  • Thread starter Rich via AccessMonster.com
  • Start date
R

Rich via AccessMonster.com

I have a set of tab pages on my main form. I need to click on a tab page and
have a form open up. How do I code the tab page on click to open another
form?

THanks,
Rich
 
R

Rick Brandt

Rich said:
I have a set of tab pages on my main form. I need to click on a tab
page and have a form open up. How do I code the tab page on click to
open another form?

THanks,
Rich

Use the Change event of the entire TabControl and then test for the page
that was selected.

If Me.TabControlName.Value = 0 Then
'the first page was selected (1 = second page, etc.)
....
 

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