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 Programming / August 2005

Tip: Looking for answers? Try searching our database.

Subform on a Subform

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Graham Naylor - 03 Aug 2005 17:03 GMT
Hi,

I've got a form "AAA" on which is a subform "BBB" and on this subform is
another subform "CCC", also on "BBB" is a text control "TTT".

From code attached to the lower subform (Form_Current section) "CCC" how do
I refer to the control on the subform "BBB".

I've tried the Forms!"BBB""TTT.text format but this fails with the error
"Access cannot find the form "BBB" refered to"

I've also tried the format Forms!"AAA"!"BBB""TTT.text but this error "Access
cannot find the field refered to in your expression".

I've double checked all form/control names and everything checks out.

Regards

Graham
PC Datasheet - 03 Aug 2005 18:43 GMT
From AAA:
Me!NameOfSubformControlOnAAA!TTT
From BBB:
Me!TTT

Signature

                                       PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
                             resource@pcdatasheet.com
                                www.pcdatasheet.com

> Hi,
>
[quoted text clipped - 3 lines]
> From code attached to the lower subform (Form_Current section) "CCC" how
> do I refer to the control on the subform "BBB".

> I've tried the Forms!"BBB""TTT.text format but this fails with the error
> "Access cannot find the form "BBB" refered to"
[quoted text clipped - 7 lines]
>
> Graham
Graham Naylor - 04 Aug 2005 09:55 GMT
Thanks,

What code from form "CCC" ?

Thanks

> From AAA:
> Me!NameOfSubformControlOnAAA!TTT
[quoted text clipped - 20 lines]
>>
>> Graham
PC Datasheet - 05 Aug 2005 00:07 GMT
Forms!AAA!!NameOfSubformControlOnAAA!TTT

Signature

                                       PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
                             resource@pcdatasheet.com
                                www.pcdatasheet.com

> Thanks,
>
[quoted text clipped - 26 lines]
>>>
>>> Graham
 
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.