A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Tab Controls/Subforms



 
 
Thread Tools Display Modes
  #1  
Old July 24th, 2008, 10:03 PM posted to microsoft.public.access.tablesdbdesign
amanda_jb
external usenet poster
 
Posts: 23
Default Tab Controls/Subforms

I'm hoping anyone can help me... I am currently re-designing our company
database and per their preference they want the database to have the tabbed
controls to navigate. The problem I am having, due to trying to minimize
size, I need the Subforms contained on these tabs to be deactivated until the
Tab/Page is selected; however, it does not recognize for some reason the
onclick when you selec the tab, it has to actually be clicked on the page.

If anyone has any pointers... I would greatly appreciate it!!!!!
--
Amanda
  #2  
Old July 24th, 2008, 10:14 PM posted to microsoft.public.access.tablesdbdesign
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default Tab Controls/Subforms

Amanda

One way to do that is to use an OnChange event procedure for the control
(the tab control, the whole thing, not a page on it). You could use
something like:

Select Case Me!tabYourTabControl.Value 'which tab was clicked
Case 0 'the first tab was clicked
'do something
Case 1 'the second tab ...
'do something else
...
End Select

Good luck!

Regards

Jeff Boyce
Microsoft Office/Access MVP

"amanda_jb" wrote in message
...
I'm hoping anyone can help me... I am currently re-designing our company
database and per their preference they want the database to have the
tabbed
controls to navigate. The problem I am having, due to trying to minimize
size, I need the Subforms contained on these tabs to be deactivated until
the
Tab/Page is selected; however, it does not recognize for some reason the
onclick when you selec the tab, it has to actually be clicked on the page.

If anyone has any pointers... I would greatly appreciate it!!!!!
--
Amanda



  #3  
Old July 24th, 2008, 10:15 PM posted to microsoft.public.access.tablesdbdesign
Graham Mandeno
external usenet poster
 
Posts: 593
Default Tab Controls/Subforms

Hi Amanda

Use the Change event (not the Click event) of the tab control.
--
Good Luck :-)

Graham Mandeno [Access MVP]
Auckland, New Zealand

"amanda_jb" wrote in message
...
I'm hoping anyone can help me... I am currently re-designing our company
database and per their preference they want the database to have the
tabbed
controls to navigate. The problem I am having, due to trying to minimize
size, I need the Subforms contained on these tabs to be deactivated until
the
Tab/Page is selected; however, it does not recognize for some reason the
onclick when you selec the tab, it has to actually be clicked on the page.

If anyone has any pointers... I would greatly appreciate it!!!!!
--
Amanda



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:48 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.