473,326 Members | 2,168 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

How do I reference the controls on the individual pages of a "tab" control

Please Help ...

I need to reference a particular control that exists on a "tabbed" page
eg
TABCtl5 has 3 "pages"
I have focus set to "TABClt5(Page-1)".
I need to access the content of a "text box" (named control-A) on "Page-3"

Within VBA ... How do I access access "Control-A" on "Page-3".
If I have focus set to "Page-1" ?

Thanks In Advance ...
Mar 20 '08 #1
3 1960
PianoMan64
374 Expert 256MB
Expand|Select|Wrap|Line Numbers
  1.     me.[Control A].Value 'If there is a space between the word Control and A
  2. me.ControlA.Value 'If there is no spaces between the word Control and A
  3.  
All values on the form are available to you anytime. Just simply reference them by using the me.controlname.value or shorthand me.controlname

Hope that helps,

Joe P.
Mar 20 '08 #2
perfect ... thanks
Task is now working as expected ...
Mar 21 '08 #3
ADezii
8,834 Expert 8TB
Please Help ...

I need to reference a particular control that exists on a "tabbed" page
eg
TABCtl5 has 3 "pages"
I have focus set to "TABClt5(Page-1)".
I need to access the content of a "text box" (named control-A) on "Page-3"

Within VBA ... How do I access access "Control-A" on "Page-3".
If I have focus set to "Page-1" ?

Thanks In Advance ...
You may want to lok at this also:
How to Access Tabs on a Tab Control
Mar 21 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Not Me | last post by:
Hi, Just trying to get my head around tab controls, is there anywhere which would describe the structure of how they work? I seem to be ok so far, being able to check which page I'm on etc......
1
by: Marcus | last post by:
Anyone know why when I set my tabs index in my tab control (I have 3 tabs on the control) the numbering gets messed up when I save the form changes? I thought each tab on the control had an...
1
by: Marcus | last post by:
I have a tab control with 3 pages. I am on page 2 of the Tab Control, and I am trying to set the focus to the 1st combo box on that page. I have this so far: Me.cboMOI2.SetFocus but,...
4
by: Susan Bricker | last post by:
I would like to test to see which page of a tabl control is being displayed and then after saving the record display the other page. How can I do that? More info: Tabcontrol Name = TabCtl53...
2
by: Hexman | last post by:
Off on another journey through vb.net. What I want to do now is have a tab-control with 1 to 8 tab-pages for categories. I've read where there is not a hide method so I guess I'll have to...
3
ADezii
by: ADezii | last post by:
One frequently asked question at TheScripts is how to set focus/make active a specific Tab on a Tab Control other than clicking on it. Before I provide the answer, I feel as though a little summary...
4
ADezii
by: ADezii | last post by:
One frequently asked question at TheScripts is how to set focus/make active a specific Tab on a Tab Control other than clicking on it. Before I provide the answer, I feel as though a little summary...
3
by: WerdanNJ | last post by:
Can one use the tab control for one to one related tables? Can I also show/hide a tab page based on a value of a field? ie. Men Only \ Women Only tabs based on the field Sex. And is it me or by...
12
by: joey.powell | last post by:
Hello, I have an app that uses a tab control with several tab pages. Sometimes some of the processing initiated on one of the tab pages gets busy doing stuff that is farmed out to worker...
2
by: San24 | last post by:
Guys, Let me explain the application I have - Form > Main Tab Control > Main Tab Page > User Control > Sub Tab Control > Sub Tab Page > User Control > Contols/Text Box. Form - The main...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.