Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I name a text field based on a tab name?

Status
Not open for further replies.

Steven547

Technical User
Sep 15, 2004
165
US
Hello.
I'm using a tab control setup on my Access form. The only problem, is that with 2003, you can't "colorize" the tabs so the user can know exactly which one they are using (if you can, please let me know!).

So, I would like to have a text box that displays the name of the tab the user is currently using.
I'm thinking the code is something like this, but not sure how to do that...

me.(my text box name) = me.current tab name

Any help is appreciated!
 
something like this ?
Me![textbox name] = Me![tabcontrol name].Pages(Me![tabcontrol name].Value).Name

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Steven547 said:
[blue] ... with 2003, you can't "colorize" the tab ...[/blue]
This is true ... however you can fake your users out with the following: Create the Illusion of Colored Tabs

[blue]Your Thoughts? ...[/blue]

See Ya! . . . . . .

Be sure to see thread181-473997 [blue]Worthy Reading![/blue] [thumbsup2]
Also faq181-2886 [blue]Worthy Reading![/blue] [thumbsup2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top