tab pages

  • Thread starter Thread starter chriske911
  • Start date Start date
C

chriske911

I'd like to use a tabpage in a subform and have the buttons to go to a
tabpage in the form header so they don't appear for each record since I am
showing this subform as continuous
what is the property to set here ?
I'd say set tabpage = the index or name of the tabpage
but I can't find something like a tabpage property at all

thnx
 
-----Original Message-----
I'd like to use a tabpage in a subform and have the buttons to go to a
tabpage in the form header so they don't appear for each record since I am
showing this subform as continuous
what is the property to set here ?
I'd say set tabpage = the index or name of the tabpage
but I can't find something like a tabpage property at all

thnx


the indiviual tab pages are actually in the form's object
list (design view), as though they were independent
objects. because of that, the following code works fine,
regardless your TabCtl's Style property setting.


Private Sub Command3_Click()

Me!Page1.SetFocus

End Sub

Private Sub Command4_Click()

Me!Page2.SetFocus

End Sub

hope this helps.
 
thnx a bunch, that's it

actually I already named the pages so I had to refer them by name but it
works

grtz
 
Back
Top