controlling a subform

  • Thread starter Thread starter martin
  • Start date Start date
M

martin

I have a main form with the same subform twice not linked.
I want to tell in code which record subform1 should show
and subform2. ie main form is master then i insert form
child twice in to master. In master on open event I'd like
to control which record child1 and child2 show. How is
this done?

Thanks
Martin
 
martin said:
I have a main form with the same subform twice not linked.
I want to tell in code which record subform1 should show
and subform2. ie main form is master then i insert form
child twice in to master. In master on open event I'd like
to control which record child1 and child2 show. How is
this done?


Set each subform control's Link Master/Child properties
appropriately. If the main form does not have a
field/control for each link master value, then create
(hiddden?) text boxes and use code to set the link master
values.
 
Back
Top