Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call Method on SubForm 1

Status
Not open for further replies.

bbarr

Programmer
Sep 15, 2003
51
US
In Access 2000:

How do I call a form's subform procedure?

Example:

frmMain - Parent
frmChild - Child

on frmMain's on_open event I want to execute a method in frmChild called Test()?

Thanks!
 
Hi!

It should be reachable by:

[tt]MyVar=me!frmChild.Form.Test()[/tt]

Note - it'll have to be declared as public.

HTH Roy-Vidar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top