Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Forms / May 2005

Tip: Looking for answers? Try searching our database.

Subform in a page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nebbia - 08 May 2005 01:18 GMT
I need to reference a control in a subform on a page(tab) in a form.  I can't
find the right way to identify the page or is it even necessary
Douglas J. Steele - 08 May 2005 01:24 GMT
The fact that the control's on a tab doesn't matter: its name has to be
unique to the form, so you simply refer to it by name.

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)

>I need to reference a control in a subform on a page(tab) in a form.  I
>can't
> find the right way to identify the page or is it even necessary
John Vinson - 08 May 2005 03:00 GMT
>I need to reference a control in a subform on a page(tab) in a form.  I can't
>find the right way to identify the page or is it even necessary

It's not: the syntax uses the Name property of the Subform control,
and of the control on the subform; the tab page or tab control are not
used. Just

Me!subformname.Form!controlname

whether the Subform is on a tab page or not.

Note that subformname is the Name property *of the Subform control*,
the box containing the form - not the name of the form within that
box. The names might be the same but they might not!

                 John W. Vinson[MVP]    
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.