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 / July 2007

Tip: Looking for answers? Try searching our database.

reference to master form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Roy Goldhammer - 24 Jun 2007 13:57 GMT
Hello there

I have master form and inside there is subform.

If an event procedure uccur on subform, how can i get refence to the master
form in order to change there things when the name of the master form is
diffrent always?
Jeff Boyce - 24 Jun 2007 14:32 GMT
Roy

Look in Access HELP for the "Parent." property.

Your code will look something like:

   Me.Parent....

from within the subform.

Signature

Regards

Jeff Boyce
www.InformationFutures.net

Microsoft Office/Access MVP
http://mvp.support.microsoft.com/

Microsoft IT Academy Program Mentor
http://microsoftitacademy.com/

> Hello there
>
[quoted text clipped - 3 lines]
> form in order to change there things when the name of the master form is
> diffrent always?
tbl - 25 Jul 2007 23:05 GMT
>Roy
>
[quoted text clipped - 5 lines]
>
>from within the subform.

If I may jump in here with related question...

What would be the proper way to code this human syntax from
the subform:

    If the main form is a new record, then subform field
    [PageNumber] (value) should be "1".

Signature

Thanks,
tbl

 
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.