Welcome to MSDN Blogs Sign in | Join | Help

Microsoft Access Team Blog

Get product announcements, tips and tricks, and news directly from the team @ Microsoft.
A better way to reference tab control pages

In VBA, a common way to refer to the pages of a tab control is to use the Value property. However, Luke Chung, President of FMS Inc., recommends using the PageIndex property instead. Click here to find out why!

tabs

Send your Power Tips to Mike and Chris at accpower@microsoft.com.
Posted: Thursday, November 05, 2009 6:38 PM by cdowns

Comments

Data Entry Service said:

I see what he's saying but I would just be careful about my reference and stick with the tab reference.

# November 6, 2009 4:57 AM

Vladimir Cvajniga said:

With PageIndex I never had any problem. It's a safe way to re-arrange tabs if you use PageIndex - just don't rename the tabs.

# November 6, 2009 6:21 AM
Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker