Solved

Calling the load event of my subform

Posted on 2008-10-30
2
483 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

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Familiarize people with the process of utilizing SQL Server views 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 Microsoft Access…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…

743 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now