how set active tab in control when form opened ?

D

David

I have a tabbed control, when I open the form that it is in, how do I control which tab is the active tab
Different tabs need to be active under different circumstances.
 
P

PC Datasheet

David said:
I have a tabbed control, when I open the form that it is in, how do I control which tab is the active tab?
Different tabs need to be active under different circumstances.
 
P

PC Datasheet

If you look at the properties of the pages in a tab control, you will see that
each page has a page property which is the page#. You can make for example page
3 the active page when you open the form by putting the following code in the
form's Open event:

Me!NameOfTabControl.Value = 3
 

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