tab control

  • Thread starter Thread starter eric
  • Start date Start date
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"
 
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
 
Back
Top