467,144 Members | 1,418 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,144 developers. It's quick & easy.

Syntax form moving from page-to-page (actually, Tab-toTab) in Tab Control on form?

MLH
I thought it was DoCmd.GoToPage - but that doesn't work for
Tab Controls, it seems - only for forms with page breaks in them.

Anybody know Syntax form moving from page-to-page (actually,
Tab-toTab) in Tab Control on form?
Feb 15 '06 #1
  • viewed: 1474
Share:
1 Reply
MLH
On Wed, 15 Feb 2006 06:31:38 -0500, MLH <CR**@NorthState.net> wrote:
I thought it was DoCmd.GoToPage - but that doesn't work for
Tab Controls, it seems - only for forms with page breaks in them.

Anybody know Syntax form moving from page-to-page (actually,
Tab-toTab) in Tab Control on form?


Courtesy of Rick Brandt in another thread...
The TabControl has a Value property that corresponds to the the page
index of
the currently selected TabPage. Setting that value brings the TabPage
with that
index to the front. For example to switch to the 3rd TabPage...

Me.TabControlName = 2

(index starts at zero)
Thx, Rick.
Feb 15 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by david.boone@acgov.org | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.