tab control

E

eric

I've tried all of the recommendations and still cannot
get a specific tab control page to open...I've tried the
following and get the errors indicated:

DoCmd.OpenForm "WO_Detail", , , stdWOLink
Me!TabCtl11 = 1
"Expression entered refers to closed object or one that
does not exist"

DoCmd.OpenForm "WO_Detail", , , stdWOLink
Me!TabCtl11.Value = 1
"Expression entered refers to closed object or one that
does not exist"

DoCmd.OpenForm "WO_Detail", , , stdWOLink
Me.TabCtl11 = Me.TabCtl11.Pages("Page2").PageIndex
"Method or data member not found"
 
A

Ashby

I am confused by your problem. Where is the tab control
you are trying to get to. Is it on the form you are
opening or on the form you are leaving.

By going to another form you are changing the focus. If
the tab control is on the form you are going to then you
will need to refer to the tab control as:
Forms!WO_Detail!TabCtl11.value = 1
 

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