Changing a subform with code.

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

Guest

Ok, I have a form that the user select a individual from depending on the
Individuals number I would like to change one subform to a different subform.
Is there a way to do this in code?
Thanks for any help.
 
Me.NameOfSubformControl.SourceObject = "NameOfFormToUseAsSubform"

Don't forget to change the LinkChildFields and LinkMasterFields properties
if appropriate.
 
Thanks that's what I needed.

Douglas J. Steele said:
Me.NameOfSubformControl.SourceObject = "NameOfFormToUseAsSubform"

Don't forget to change the LinkChildFields and LinkMasterFields properties
if appropriate.
 

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

Back
Top