SubForm

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have Form A with a SubForm B on it. The SourceObject for SubForm B is set
within VBA code on Form A based upon push buttons on Form A.
Righ now I have

Me.SubFormB.SourceObject = "Form C"

which calls Form C and places it into the SubForm B control on Form A. My
question is, is there a way to do this call and pass arguements, such as
OpenArgs to Form C?

Thanks in advance for your help!
 
I don't think there is any way you can pass arguments directly to the subform
in the same way as when calling the OpenForm method. You can return a
reference to it via the Form property of the subform control, however, so,
depending on what you want to achieve, you might be able to do it that way
after you've assigned the form to the subform control's SourceObject property.

Ken Sheridan
Stafford, England
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Parameter Value error in a Subform 0
Subform Data Entry Setting 0
Subform's Query 3
Access Reference Subform's Control 0
Link subform ID control 3
Subforms 1
Subform Requery Criteria 1
Subforms 4

Back
Top