Solved

Calling the load event of my subform

Posted on 2008-10-30
2
486 Views
Last Modified: 2008-10-30
How can I manually "call" the load event of my subform from my main form?

0
Comment
Question by:snyperj
2 Comments
 
LVL 11

Accepted Solution

by:
SeanStrickland earned 500 total points
ID: 22841240
In the form itself, make sure Form_Load() is set to Public.
Public Sub Form_Load()
'... your code here...
End Sub


In your separate module... call using this:
Forms![Main Form Name Here]![subform control name].Form.Form_Load


I believe that should work.
Sean
0
 

Author Comment

by:snyperj
ID: 22841833
It was the first ".Form" in  "Form.Form_Load" I was missing... Thanks!
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question