Re: tab control syntax

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: PC Data*** (spam_at_nospam.spam)
Date: 03/18/04


Date: Thu, 18 Mar 2004 08:58:22 GMT

Garret,

A tab control is only an extension of the form it is on. So you add controls
including subform controls to a tab control in the same way you add them to any
other form. The tabs are merely a way to navigate to the extensions.

--
                                         PC Data***
Your Resource For Help With Access, Excel And Word Applications
                              resource@pcdata***.com
                                 www.pcdata***.com
"Garret" <Garret@naturallywired.net> wrote in message
news:#Ue39tLCEHA.2600@TK2MSFTNGP09.phx.gbl...
> New to using the tabbed control, and I am struggling with the proper syntax
> to set the recordsource of the subforms on each tab. I have an unbound text
> box on the main form that I am going to use as a parameter in the SQL
> statement to set the REcordSource of the subforms.
>
> I have a tab control named "MainTab", with 3 tabs (tab0, tab1, tab2). I have
> a subforms on each tab named sbform0,..1, ..2.
>
> I tried access the recordsource with:
> msgbox ME("Tab0")("sbform0").Recordsource
> but it did work
>
> What is the proper syntas?  Thanks for the help
>
>

Quantcast