Go Back   Access World Forums > Microsoft Access Discussion > General

 
Reply
 
Thread Tools Rate Thread Display Modes
Old 02-13-2013, 06:01 PM   #1
MiriamLear
Newly Registered User
 
Join Date: Dec 2010
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
MiriamLear is on a distinguished road
tabcontrol

I have tabcontrol0, tabcontrol1, tabcontrol2 etc. On each control I have the specific forms. When a tabcontrol is changed ie. client using tabcontrol2 and clicks tabcontrol1 without completing certain requirements of tabcontrol2, the events in the main form on each tab does not respond to the changed tab. how do I access the action of the tabcontrols. attached copy with the tabcontrol.
Attached Images
File Type: jpg tabs.jpg (64.5 KB, 89 views)

MiriamLear is offline   Reply With Quote
Old 02-13-2013, 06:09 PM   #2
jdraw
Super Moderator
 
jdraw's Avatar
 
Join Date: Jan 2006
Location: Ottawa, Ontario, Canada;West Palm Beach, Florida
Posts: 11,574
Thanks: 57
Thanked 1,875 Times in 1,825 Posts
jdraw is just really nice jdraw is just really nice jdraw is just really nice jdraw is just really nice jdraw is just really nice
Re: tabcontrol

see if post 6 here helps
http://www.access-programmers.co.uk/...d.php?t=164828
jdraw is offline   Reply With Quote
Old 02-14-2013, 09:46 AM   #3
MiriamLear
Newly Registered User
 
Join Date: Dec 2010
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
MiriamLear is on a distinguished road
Re: tabcontrol

I cannot access any events on the tabcontrol. I cannot access any code for the tabcontrol. What do I need to do to access code and/or events on the tabcontrols.
See Photo.
Attached Images
File Type: jpg tabs.jpg (41.0 KB, 72 views)

MiriamLear is offline   Reply With Quote
Old 02-14-2013, 09:58 AM   #4
jdraw
Super Moderator
 
jdraw's Avatar
 
Join Date: Jan 2006
Location: Ottawa, Ontario, Canada;West Palm Beach, Florida
Posts: 11,574
Thanks: 57
Thanked 1,875 Times in 1,825 Posts
jdraw is just really nice jdraw is just really nice jdraw is just really nice jdraw is just really nice jdraw is just really nice
Re: tabcontrol

Please tell us about your business and database. What exactly are we dealing with. And post a zipped copy of your database -- remove anything personal/confidential first.

Did the link I suggested help at all?
jdraw is offline   Reply With Quote
Old 02-14-2013, 10:19 AM   #5
Simon_MT
Newly Registered User
 
Join Date: Feb 2007
Location: United Kingdom
Posts: 2,177
Thanks: 2
Thanked 162 Times in 158 Posts
Simon_MT has a spectacular aura about Simon_MT has a spectacular aura about
Re: tabcontrol

Strictly speaking these forms do not appear to be tab controls, from the first Image these look like Forms displayed as Tabbed Documents.

Simon
Simon_MT is offline   Reply With Quote
Old 02-15-2013, 04:41 PM   #6
MiriamLear
Newly Registered User
 
Join Date: Dec 2010
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
MiriamLear is on a distinguished road
Re: tabcontrol

These may be window tabs or OS tabs. I'm not sure.
MiriamLear is offline   Reply With Quote
Old 02-15-2013, 04:43 PM   #7
MiriamLear
Newly Registered User
 
Join Date: Dec 2010
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
MiriamLear is on a distinguished road
Re: tabcontrol

A pet motel. All types of pets are boarded and or groomed. The pet motel owners access the data via pet or owners name. I'll remove the files and attach an mty version.

MiriamLear is offline   Reply With Quote
Old 02-15-2013, 05:14 PM   #8
John Big Booty
AWF VIP
 
John Big Booty's Avatar
 
Join Date: Aug 2005
Location: Planet 10, by way of the Eighth Dimension
Posts: 8,263
Thanks: 113
Thanked 1,011 Times in 865 Posts
John Big Booty is a jewel in the rough John Big Booty is a jewel in the rough John Big Booty is a jewel in the rough
Re: tabcontrol

Quote:
Originally Posted by MiriamLear View Post
I cannot access any events on the tabcontrol. I cannot access any code for the tabcontrol. What do I need to do to access code and/or events on the tabcontrols.
See Photo.
The image shows a series of Forms in Tabbed view, so as such there will be no events for them. A tabbed form control will look like;

Attached Images
File Type: png Capture.PNG (31.7 KB, 226 views)
__________________
...but they're only monkey boys!!!
John Big Booty is offline   Reply With Quote
Old 02-15-2013, 05:14 PM   #9
MiriamLear
Newly Registered User
 
Join Date: Dec 2010
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
MiriamLear is on a distinguished road
Re: tabcontrol

Owners has a push button that opens the Billing tab. When the customer has both tabs open (owners and billing) I need to know when the customer moves from the billing tab back to the owners. The customer must approve the Bill. As of now, the customer can click on owners without approving the bill and the bill will not be saved properly. I have tried everything to access the tab.
Thanks for your help.
Attached Files
File Type: zip NewZip.zip (398.4 KB, 56 views)
MiriamLear is offline   Reply With Quote
Old 02-15-2013, 05:19 PM   #10
John Big Booty
AWF VIP
 
John Big Booty's Avatar
 
Join Date: Aug 2005
Location: Planet 10, by way of the Eighth Dimension
Posts: 8,263
Thanks: 113
Thanked 1,011 Times in 865 Posts
John Big Booty is a jewel in the rough John Big Booty is a jewel in the rough John Big Booty is a jewel in the rough
Re: tabcontrol

The button is simply opening another form, not a tabbed control.
__________________
...but they're only monkey boys!!!
John Big Booty is offline   Reply With Quote
The Following User Says Thank You to John Big Booty For This Useful Post:
MiriamLear (02-15-2013)
Old 02-15-2013, 05:21 PM   #11
MiriamLear
Newly Registered User
 
Join Date: Dec 2010
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
MiriamLear is on a distinguished road
Re: tabcontrol

those are tab pages. The tab Control reference as tabcontrol0, tabcontrol1 etc,. I cannot access the events in the tabcontrol such as onchange etc. Maybe I should put the whole thing on tabcontrol0 and create pages. That would solve the problem.
MiriamLear is offline   Reply With Quote
Old 02-15-2013, 05:22 PM   #12
MiriamLear
Newly Registered User
 
Join Date: Dec 2010
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
MiriamLear is on a distinguished road
Re: tabcontrol

The button also puts the form on tabcontrol2.
MiriamLear is offline   Reply With Quote
Old 02-15-2013, 05:29 PM   #13
John Big Booty
AWF VIP
 
John Big Booty's Avatar
 
Join Date: Aug 2005
Location: Planet 10, by way of the Eighth Dimension
Posts: 8,263
Thanks: 113
Thanked 1,011 Times in 865 Posts
John Big Booty is a jewel in the rough John Big Booty is a jewel in the rough John Big Booty is a jewel in the rough
Re: tabcontrol

I've downloaded your DB and I can assure you you have NO Tabbed Controls in your DB. What you do have is a series of Forms in a Tabbed layout.

To detect when your user moves from one Form Tab to another you will need to use the Form's On Deactivate event, to detect when the user click on another form tab.
__________________
...but they're only monkey boys!!!

Last edited by John Big Booty; 02-15-2013 at 06:29 PM.
John Big Booty is offline   Reply With Quote
Old 02-15-2013, 05:31 PM   #14
John Big Booty
AWF VIP
 
John Big Booty's Avatar
 
Join Date: Aug 2005
Location: Planet 10, by way of the Eighth Dimension
Posts: 8,263
Thanks: 113
Thanked 1,011 Times in 865 Posts
John Big Booty is a jewel in the rough John Big Booty is a jewel in the rough John Big Booty is a jewel in the rough
Re: tabcontrol

The button on form Owners has a simple Open Form action, nothing more.

Attached Images
File Type: png Capture.PNG (14.3 KB, 195 views)
__________________
...but they're only monkey boys!!!
John Big Booty is offline   Reply With Quote
Old 02-15-2013, 10:07 PM   #15
MiriamLear
Newly Registered User
 
Join Date: Dec 2010
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
MiriamLear is on a distinguished road
Re: tabcontrol

I tried it. You are right. So it's called a tabbed layout. Thank you.

MiriamLear is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Subform on TabControl kadara Modules & VBA 2 02-09-2011 04:24 AM
tabcontrol sven2 Modules & VBA 0 08-17-2007 09:04 AM
set a tabcontrol.value??? casey Forms 2 04-25-2003 11:09 AM
[SOLVED] TabControl Out of Control furrymonster Forms 0 05-06-2002 07:47 AM
Tabcontrol..!!! pacgoncalves Forms 1 02-28-2002 06:54 AM




All times are GMT -8. The time now is 01:47 AM.


Microsoft Access Help
General
Tables
Queries
Forms
Reports
Macros
Modules & VBA
Theory & Practice
Access FAQs
Code Repository
Sample Databases
Video Tutorials

Sponsored Links

How to advertise

Media Kit


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
(c) copyright 2017 Access World