pop up subform with parent child link

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

Guest

I am having difficulty creating a pop up subform, using a command button
macro, that also functions as a subform that automatically links the parent
ID with the child ID, so that the child ID is automatically populated with
the parent ID, like happens with all other subforms that I have placed on the
parent form. If a pop up cannot be used, is there a way to resize a subform
on the master form so that when it is selected it expands to an appropriate
size?
 
Have you created the subform and the relationship using the Relationships
utility in the Tools menu? I can't see how it would be any different than
having the subform load when you load the main form. You just need to have
coding set up for the command button "On Click" option. Do.Cmd OpenForm
"MyForm" should be about all you need for a basic popup. As long as you have
similar relationships set up to the "pop-up" subform and you do to the rest
of your subforms, you should be alright. I haven't used a "pop-up" subform
yet so you may be running into an issue I haven't experienced yet.
 
Back
Top