If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Can Subform Call Main Form Sub Procedure
Hi,
1. I have a Main form where consists of mutliple subform. 2. In code editor of subform A, am i able to call local sub procedure that resides in main_form ? Regards, Edison -- Message posted via http://www.accessmonster.com |
#2
|
|||
|
|||
Can Subform Call Main Form Sub Procedure
Hi edisonl,
Yes this is possible. Make the sub procedure on the Main form a public sub -- Public Sub SubName() In subformA your code goes like this-- Me.Parent.SubName or you can use Call Me.Parent.SubName Note: replace SubName with the actual name of the sub procedure. Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia "edisonl via AccessMonster.com" u47544@uwe wrote in message news:9cf7e50091e37@uwe... Hi, 1. I have a Main form where consists of mutliple subform. 2. In code editor of subform A, am i able to call local sub procedure that resides in main_form ? Regards, Edison -- Message posted via http://www.accessmonster.com |
#3
|
|||
|
|||
Can Subform Call Main Form Sub Procedure
Hi Jeanette,
Thanks.. Regards, Edison Jeanette Cunningham wrote: Hi edisonl, Yes this is possible. Make the sub procedure on the Main form a public sub -- Public Sub SubName() In subformA your code goes like this-- Me.Parent.SubName or you can use Call Me.Parent.SubName Note: replace SubName with the actual name of the sub procedure. Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia Hi, [quoted text clipped - 5 lines] Regards, Edison -- Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/For...forms/200910/1 |
Thread Tools | |
Display Modes | |
|
|