Count on a Tab (1 Viewer)

JordanR

Registered User.
Local time
Yesterday, 23:07
Joined
Jan 25, 2005
Messages
72
I have a form, with a tabbed interface. On each tab is a subform showing a continuous form with records matching criteria.
I'd like for the name of each tab to also include a count of the items in each subform on each tab. Is that possible?

So the name of tab 1, instead of "Opened Cases" would be "Open Cases (X), where X is a count of how many cases are currently open.

Thanks.
 

wazz

Super Moderator
Local time
Today, 14:07
Joined
Jun 29, 2004
Messages
1,711
i've tried putting text boxes and the like over the tabs and that doesn't work either. Notice the properties/data tab for pages in a TabControl: there is no control source. You can't show or hide anything there, to my knowledge.
 

Mile-O

Back once again...
Local time
Today, 07:07
Joined
Dec 10, 2002
Messages
11,316
The individual pages of the tabs have Caption properties with which you can use your counts.

i.e.

Code:
Me.MyPage.Caption = [i]countVar[/i]
 

Users who are viewing this thread

Top Bottom